Hello, is there anyway to unlock PC programmatically? I'm running Window 2k and running some scheduling task at night time. I manage to power-off the system after the task completed. But what I have found is in order to shut down and power off the system properly, the PC must be stayed in 'UNLOCK' state so that it will be shut down properly. I normally unlock the pc before I left the PC. Does anybody have the idea to unlock it programmatically inside the program?