In Control Panel, visit Power and Sleep Settings > Additional Power Settings > Choose what closing the lid does > Set to "Do Nothing".
In Control Panel, visit Power and Sleep Settings > Additional Power Settings > Choose what closing the lid does > Set to "Do Nothing".