Relisted, here is the locker that I use.
http://forum.xda-developers.com/showthread.php?t=542482
And below is the cab that I installed.
All ye do is go into the start menu, Lock Device and click on Enable Lock. (I soft reset after this, though not sure if ye need too). The auto settings it has is to lock when ye turn off the screen though ye can change it to lock when screen turns back on (the latter gives a few seconds delay).
Be warned that the first time ye turn off the screen it'll take ye pushing the power button twice or so for it to turn back on (at least it does for me, this is only the first time when it has been soft reset, or off for a while, and as I don't need to reset my phone often it's no issue for me)
I've been using this for JD's 6.5.1 roms and I've seen it work on 23409, 23047, 23049, and 23052.