Found this command when i tried to lock my remote PC (xp), its useful when you need to lock your VM or remote desktops.
rundll32.exe user32.dll, LockWorkStation
Note: this is case sensitive, otherwise will give dll errors.
rundll32.exe user32.dll, LockWorkStation
Note: this is case sensitive, otherwise will give dll errors.