Open power options—select Start , then select Settings > System > Power & sleep > Additional power settings. If you’re using a desktop, tablet, or laptop, select Choose what the power buttons does. Next to When I press the power button, select Sleep, and then select Save changes.

