There is a limitation for Android devices where automation cannot start if the device is currently locked, depending on the screen lock type
|Screen lock type
|Can automation start when locked?
If an automation start is attempted when the device is locked, it is possible to manually intervene to unlock the device, i.e., the user will have to physically enter a pattern, pin, or password. This will allow automation to start successfully.
If the device screen becomes locked while already automating, it is possible to unlock it via automation.