Hi seantan12,
- Press the Win key + R.
- Type gpedit.msc and then press enter.
- Navigate to Computer Configuration > Administrative Templates > All Settings.
- On the right pane, search "Select the lid switch action" (on battery) & (plugged in).
- Enable the two policies. (Note: If you enabled these policy settings, you must select the desired action)
- Please check the attached image below for reference.
- After setting these policies, perform a safe restart. (Recommended)
I hope this helps. Feel free to ask back any questions and let me know how it goes.
Thank you!
Sincerely,
P. Blancaflor