This menu bar app disables the clamshell mode and puts your MacBook to sleep when the lid is closed. Visit