Set power button behavior
By default, pressing the power button puts the computer to sleep mode. However, you can change the power button behavior in Windows Control Panel.
Change or create a power plan
A power plan is a set of power saving settings. You can choose a pre-defined power plan or you can create your own plans.