- Click on Start and type Control Panel.
- Click on Hardware and Sound.
- Click on Power Options.
- Click the "Choose what closing the lid does" option from the left pane.
- Under the "Power button and lid settings" section, use the "When I close the lid" feature and select the Do nothing.
- Select the Do nothing option for the "On Battery" setting. Click the Save changes button.
- Once you complete the steps, when you close the lid, the laptop will remain operational from the second display.