Require a password when a computer wakes (plugged in)
Supported on: At least Windows Vista
Registry
HKLM
Software\Policies\Microsoft\Power\PowerSettings\0e796bdb-100d-47d6-a2d5-f7d2daa51f51 Value name: ACSettingIndex
Enabled: ACSettingIndex = 1
Disabled: ACSettingIndex = 0
Description
This policy setting specifies whether or not the user is prompted for a password when the system resumes from sleep. If you enable or do not configure this policy setting, the user is prompted for a password when the system resumes from sleep. If you disable this policy setting, the user is not prompted for a password when the system resumes from sleep.