two ways to do this;
you should have a power switch on your keyboard, and you can have this arrangement through power management.
the other way, if you don't have a powe switch, is to do as preciously posted, and obvously, find an f key you don't use.
I use f9
f6 I use for my email
so whatever f key you don't use, you can use as this shortcut