Found here:
http://www.freewarepocketpc.net/ppc-...auto-lock.html
Auto Lock Description
Just another auto locking program using the Windows Lock and it is activated a few seconds after the screen has dimmed and after the device has waken up.
To install it simply copy the csdevctrl.exe to a folder and run it.
It will run at the background as another process.
Running the program second time it will exit (It will show a confirmation window which will close in 3 seconds unless you close it sooner).
To uninstall it, close the process as usual (run it again or kill the process) and delete the file.
As a note, do not rename the csdevctrl.exe as the uninstall depends on this name.