Bought a macbook pro... suggestions?

I would get the free application “insomnia” it allows you to control when the laptop goes to sleep.

I have mine set to stay active if I close the lid when it’s plugged into power but sleep when closed and not plugged in.