Just for answering this topic :
Quote:
To remove Lock option, you need to create a registry key.
Since modifying the registry improperly may cause damage to the system, please follow the steps below to back up the registry key:
1. Click Start, click Run, input "REGEDIT" (without quotation marks) and press Enter.
2. Navigate to the following registry key by expanding the "+" beside the registry tree in the left pane:
HKEY_LOCAL_MACHINE
3. Right click on . Under HKEY_LOCAL_MACHINE", click "Export"; please name the file as "RegBackup" (without quotation marks) and then save it to the C:\ drive as a backup.
Note: In case we need to undo the modification, we can double click this RegBackup.reg file to restore the registry key.
After backuping the registry, try the following:
1. Navigate to the following key:
2. Under HKEY_LOCAL_MACHINE\SOFTWARE \Microsoft\Windows\CurrentVersion\Policies\System, create a new DWORD value named DisableLockWorkstation and set value to 1.
Save the settings, you will see the option turns gray.
To disable Sleep option:
Open gpedit.msc and go to Computer Configuration>Administrative Templates>System>Power Management>Sleep Settings
Enable "Turn Off Hybrid Sleep"
Disable "Allow Standby States (S1-S3) when sleeping"
Source:
http://social.technet.microsoft.com/Forums/en/w7itproinstall/thread/044e0e40-6aec-43b8-a084-f59e56f4d50e