Sometimes the f-10 button (or which ever buttons ) to get back to factory install is the only hope.
I have also found the default settings in the control panel /system & security / power options / can be set to go to sleep mode when the power button is pushed or short periods of times are set-up...