Windows 10 normally puts your laptop in low slumber mode when you close the lid. This can be a problem when connecting your laptop to an external monitor. Use the control panel, not the Windows Settings app, to change this behavior.
If you do, be careful! Closing your laptop cover and throwing it in the bag while it is still on can cause some serious problems due to poor circulation or blockage of ventilation. Your laptop continues to run, wasting the battery and possibly overheating the bag. You have to manually put your laptop into sleep mode, hibernate it or turn it off using the power buttons or in the options in the Start menu instead of simply closing the lid.
Change the default behavior for Windows 10 when you close the lid, right-click the battery icon in the system tray, and then click "Power Options."
] If you do not see the battery icon, click "Show Hidden Icons" and then right-click the battery icon – or lead to the Control Panel> Hardware and Sound > Power Options instead.
] Then click on "Choose what closes the lid" in the box to the left.
RELATED: How to enable Ultimate Performance Power Plan in Windows 10
From the drop-down menu for "When I close the lid "s choose" Do nothing ".
There are two separate options here: On battery and connected. You can choose different options for each. For example, you may want to keep your laptop left when you close the lid while it is plugged in but goes to bed when you are on the battery.
The settings you select will be linked to your Windows Power Plan.
Warning: Remember that if you change the On battery setting to "Do nothing", make sure your laptop shut down or in either sleep or hibernation when placing it in the bag to prevent overheating.
After making the changes, click "Save Changes" and close the control panel.
You should now be able to close the lid of your laptop without going to sleep. To change any of the settings back to the default mode, return to the Contol panel> Hardware and Sound> Power Options and change it again.