Here is a small bit of software called Auto Shutdown Professional which can secure your computer when you are away.
With this software you get the freedom to perform an unassisted shutdown, restart, logoff, standby, hibernate or you can even lock your PC based on the time of day, inactivity...