AFAIK, you cannot programmatically unlock a locked computer except via reboot and maybe logoff commands.
_________________________
There are two types of vessels, submarines and targets.