Remote access with laptop cover down
There are programs that will allow the system to run with the lid closed, but in general putting the lid down will put the system into a sleep state (allowing some internet access for Power Nap if you have that enabled)