To create shortcuts for these Windows functions follow the next steps:
1. From the Context menu on the Desktop or in any folder select New -> Shortcut.
2. In the Location field type:
- For Shutdown:
shutdown.exe -s -t 00
- For Restart
shutdown.exe -r -t 00
- For Workstation lock
Rundll32.exe User32.dll,LockWorkStation
- For Sleep
rundll32.exe powrprof.dll,SetSuspendState Sleep
- For Hibernation
rundll32.exe powrprof.dll,SetSuspendState
3. Press Next and type the shortcut name.
4. After it you can use the shortcut by doubleclicking on it or by assigning a keyboard shortcut to it (that can be done in its Properties Shortcut key field).