Configure automatic screen unlock
Internal Windows policies can lead to situations where your screen becomes locked during execution, thus affecting long-running Business Processes, which can be an issue if you apply the image-based automation.
You can use the detect screen lock feature that unlocks the screen immediately once it gets locked.
The feature is enabled by default. To disable it, set the /config/bot-agent/rdp.unlock.automatically.disable ZooKeeper property to true and restart the WFSvc service.