Sleep, Hibernate, or Shutdown by Closing Laptop Lid in Windows
Step 1: Right-click on the Battery icon in the Taskbar, and then click on Power Options. It will open the Power Options window. Step 2: In the Power Options window, click on the link that says Choose what closing the lid does. Step 3: In the next screen, go to …