Hi AB1216,
You can use a third-party tool (such as NirCmd) for that. See Put Windows Into Sleep or Hibernate Mode Using Command-line.
After creating the desktop shortcut, you can assign a keyboard shortcut (e.g., Ctrl + Shift + S or something else) to put the computer to sleep.
Alternatively, use AutoHotKey, which is very effective and fast.
If Hibernation is disabled on the computer, you can run the following command to put the computer to sleep.
- rundll32 Powrprof.dll, SetSuspendState
You can create a desktop shortcut to it.