Turn off Win11 auto restart after updates

Settings/Windows update/Advanced options

Turn on – “Notify me when a restart is required to finish updating”