To set your PC so it goes to sleep when you close the lid or press the power button:
Select Search on the taskbar, type control panel, and select it from the results.
Select System and Security.
In the Power Options section, select Change what the power buttons do.
Select Change settings that are currently unavailable.
For a laptop, expand the list for When I close the lid in the On battery column and select Sleep. Repeat for the Plugged in column, if desired.
You should update the graphic card driver through the support site of Intel.