1. From the taskbar locate the magnifying glass
  2. Type Change what closing the lid does in the Type here to search field
  3. Choose the Open option
  4. In the Plugged in column and the When I close the lid row, click the drop-down menu
  5. Choose Do Nothing
  6. Click the Save Changes button