Windows 11 (or 10) doesn't include an option to schedule an automatic shutdown of your computer, but it's possible to use ...
Both Windows 10 and Windows 11 have a bug that causes your PC to restart when you choose the Update and shut down option.
The fix is arriving through the optional KB5067036 update for Windows 11 25H2, which Microsoft began rolling out last week.
Windows Latest says Microsoft never acknowledged the longstanding problem until releasing an optional update on Oct. 28. A support document for the update explains that part of it ...