I answered a question on a mailing list recently where the writer was having his computer lock (password-protect) too quickly when he wasn’t using it.
He wanted to find out how to change the inactivity period before the Windows locked.
I wrote back to say that his computer is locking when the screensaver kicks in. That’s one of the screensaver options.
You can right-click on the Windows Desktop, select Properties, then Screen Saver, and then change the time before the screensaver kicks in.
Also, you can turn off the auto-locking on that same tab — uncheck "On resume, display Welcome screen."
If you’ve got a longer delay involving standby, again on that same tab, click the Power button, then the Advanced tab on the Power Options Properties dialog box. Uncheck "Prompt for password when computer resumes from standby."
For additional information, see this article on my web site:
Windows Wakes Up Locked