Laptop turns off when closed

Issue

When a laptop is docked, and the lid is closed, it shuts off and doesn't display to the monitor.

 

Resolution

1.    Click on the Windows button in the bottom left (or Center), and type in 'Change what closing the lid does'

Uploaded Image (Thumbnail)2. Under the 'Plugged in' column, choose 'Do nothing' from the drop down menu in the 'When I close the lid' row. Uploaded Image (Thumbnail)

3. Make sure to save your changes.