Close MacBook when using ext. Screen?
If you have an external display attached with an external mouse/trackpad and keyboard, closing the lid will not put the machine in standby mode. You can keep using the computer with those devices. 

Check this Apple link to read the official statement about it. 


  Requirements for closed display mode:
  
  
  Power adapter
  External keyboard, mouse, or trackpad
  External display