Peak homelabbing
You should be able to deactivate shutdown or sleep mode on lid closure with some commands.