By default, pressing the power button puts the computer to sleep mode. However, you can change the power button behavior in Windows Control Panel.