How can I stop losing my screens when I close the lid?
Sounds to me like the cause of it is this setting, which you'll want to disable:

System Preferences &gt; Security &amp; Privacy &gt; 
Require a password X minutes after sleep or screen saver begins