In order to generate shortcut key to lock the logged in user system in Windows XP Operating system one need to perform below mentioned steps:
1) Right Click on Desktop blank area.
2) Click on New -> Shortcut.
3) Apply below mentioned command:
- rundll32.exe user32.dll, LockWorkStation
5) Click on Finish.Once one can double click on shortcut icon windows xp system will be locked. To unlock it one need to enter logged in user password.