This tutorial will show you different methods of locking your windows XP computer
To lock a computer in XP, as you probably know, you press “L” while holding down “Windows Logo” key on your keyboard.
You can also Use Ctrl+Alt+Del keys combination and select Lock computer option
If you don’t have a keyboard with a Window key , then here’s how you can make a desktop shortcut to lock your computer.
Right click an empty area of your desktop, choose New/Shortcut and enter this line as the command line
rundll32.exe user32.dll, LockWorkStation
Click Next. Name the shortcut whatever you like and click Finish.
If you’d like to change the icon, just right click the shortcut and go to Properties/Shortcut/Change Icon.
Locking Remote Windows XP Desktop
However, if you would like to lock a computer remotely, for example via “Remote Administrator”, you don’t have this ability. What you can do instead, is to create a shortcut on remote computer’s desktop where
Target %windir%\System32\rundll32.exe user32.dll,LockWorkStation
Start In %windir%