Save your changes and exit to activate this feature. To change the action when closing a laptop in Windows 11, go to ‘Control Panel’ > ‘Hardware and Sound’ > ‘Power Options’.