I am using Lenovo ThinkPad x260. It is attached to an external monitor. Whenever I close the lid of my laptop the system shuts down and I can’t get any display on my external monitor. I am using Windows 10 Professional.
In Start Search type powercfg.cpl and press Enter. This will open the Power Options applet of the Control Panel.
Click ‘Choose what closing the lid does’ link from the left side panel
From the drop down option select Do nothing, if you want to keep your laptop running even with the lid closed.