Yes. In the control panel Settings go to Power and Sleep Settings > Additional Power Settings > Choose what closing the lid does > Do Nothing (On battery and/or Plugged in)
Yes. In the control panel Settings go to Power and Sleep Settings > Additional Power Settings > Choose what closing the lid does > Do Nothing (On battery and/or Plugged in)