Using Caps Lock as a Hyper key sometimes causes the Command (Cmd) key to get stuck

No... Only to launch apps and tiling windows. I actually shared my setup here some time ago, if you want to take a look: Quick switch to most used apps

I do have shortcuts to put the computer to sleep, but not via Hyper Key: ctrl + del and alt+cmd+del.