Docking stations - How to keep my laptop on while docked?
This guide details how to change the settings on your laptop to allow you to close your laptop's lid and continue working while docked.
First, hit ⊞win + S on your keyboard, or click on the magnifying glass next to the start button as shown below:
Then, type in "Change what closing the lid does" as shown. Click on the first result or hit Enter.
This will now open up the Control Panel to a settings panel for this:
Then, click all the dropdown boxes under 'Plugged in' and set them to 'Do Nothing'. Finally, click 'Save changes':