When there's no external display connected to your MacBook, closing it puts the entire laptop to sleep. That's straightforward enough. When there is an external display, mouse, and keyboard connected, ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results