I want to use the created robot in lock screen statas

Hi,

You can find some info about this issue here which may be helpful to you.

Note also that the issue will not be occurring if you are using “Background automation” techniques, more info on the link under.

Cheers