Hibernate instead of shutdown
You should be able to control what the power button does Will likely be in control centre, where you select the performance plan, and then edit the plan.
Yep in power settings, there's an option called something like "choose what power button does".