1) Download and install LogonExpert.
2) Run LogonExpert Administrator.
3) Go to the "Security" tab sheet.
4) Select the "Lock computer after logon" check box.
|Lock workstation after automatic login|
As additional option, you can set a delay (in seconds) between when autologon occurs and the desktop is actually locked.