Solution: open a Command Prompt window with administrator permissions and in it type
powercfg /h off
This will disable the Hibernate option between the options Shut down, Restart, Lock, Sleep, but the problem in the title is solved.
This solution was extracted as the first tehnique in this video on YouTube: