As reported by TweakTown, Microsoft has fixed a bug that causes PCs to restart when the 'update and shut down' prompt is ...
The fix is arriving through the optional KB5067036 update for Windows 11 25H2, which Microsoft began rolling out last week.
Windows doesn't come with security set up by default, which means there are some default settings you need to change.