Under Cloud server how can we avoid screen lock to initiate the BOT

Under Cloud server how can we avoid screen lock to initiate the BOT

Stop logging into the RDP server and then closing the window. LOG OUT of the RDP session completely.