The Lock method sends a lock request to a computer.
This method has no parameters.
Lock returns a standard HRESULT.
The Lock method has the same effect as pressing CTRL+ALT+Delete and clicking Lock Computer. To use the Lock method, you cannot be running as a service.
Build date: 1/12/2012