Dock-less monitor solutions
It's called clamshell mode and it's supported by the macOS. 
Here's the Apple website about it


  
  Make sure that your Mac notebook is plugged in to an outlet using the AC power adapter.
  Connect a USB keyboard and mouse to your Mac.
  With your Mac turned on and the display open, connect the Mac to the appropriate port on the external display or projector and turn the display or projector on. Use an appropriate Apple video adapter if necessary.
  After your Mac notebook's Desktop appears on the external display, close the computer's lid.
  When you close the lid: 
  
  
  In OS X Lion 10.7 and later, the external display changes to a blue screen, then shows your Desktop.
  In OS X 10.6.8 Snow Leopard and earlier, you can wake your Mac by clicking the mouse button or pressing a key on the external keyboard.
  
  You can now use your Mac notebook as you normally would with a USB keyboard and mouse.