On my e-Machines laptop I have an "Advanced" tab in the Control Panel's Power options. It has drop-down menus letting me choose what happens when I close the lid, push the sleep button, or push the power button. I have it set to "Do nothing" when I close the lid, so all it does it turn off the monitor. Check to see if you have something like that in your control panel.