Our administrators have disabled the screensaver and automatic lock, so i could not use that. To prevent me from leaving my pc unattended, i did this:
How to lock Windows XP when Idle
Go to Start –> Control Panel
Open up Scheduled Tasks
Click on File –> New –> Scheduled Tasks
Name it whatever you like, I named it Auto Lock
Open up Auto Lock Under the Task Tab, add the following to the Run: %windir%\system32\rundll32.exe user32.dll, LockWorkStation
Click on the Schedule Tab
Under Schedule Task: drop down menu, select When Idle
On the Schedule Task When Idle option, set an appropriate Idle time, I set it as 10 Minute(s)
Click Apply, and you will have a popup to add password. Type in the password and confirm it. (I use the same password as my XP login password)
That’s it, It should auto lock your PC after it reaches the set idle time.
If you can't use tasks, try http://www.dmvsoft.com/lock-your-pc.htm
Ref:
~~LINKBACK~~