Hi,
It seems that the laptop is not waking from sleep mode. When it happens you should be able to press and hold the power button for about 10 seconds until a complete shutdown occurs and then press the power button again and the system should boot.
You could also try completely updating the machine drivers, Bios, Windows and see if the problem persists.
You can do this through HP support assistant and Windows update or download drivers from HP support page for your machine.
Product
You can also change what happens when you close the lid of the laptop. You could try setting it to complete shutdown. You can find these settings in power options.
Hope it helps,
David