Simplest solution is to go to Control Panel, Power Options, Advanced, what to do when power button pressed, Hibernate

Then you can use the power button to sleep/wake up again. (The only drawback is that the button now can't shut down windows). Alternatively look in the bios and check that your keyboard is setup to allow wake up, normally mouse is enabled by default but not keyboard.