If you have the HKCU\ControlPanel\Keybd\DeviceLockWhenSuspend key set, then using the screen off button both turns the screen off and locks the device. If you have this key off, then the device doesn't lock when you turn the screen off. See
http://forum.ppcgeeks.com/showthread.php?t=102075 for some more information.