Solved
Work Profile "ON" - PIN needed?
I use the "Work Profile" Action to switch on and off the Work profile on specific times.
But if the phone is locked the "ON" action fails with Error code 1 and i have to put in the phone pin two times. How can i avoid this?