https://technastic.com/schedule-automatic-shutdown-windows-pc/
How to Schedule Automatic Shutdown on a Windows PC