Hi Abhay,
To prevent this error the bot will need to unlock the machine to activate a user session. In order to unlock the machine, the computer must have a credential attached to it. Please visit the following link for more details on how to create a computer with a credential attached:
Managing Computers------------------------------
Martin Medina
Salient Process
------------------------------