Is it that it updates automatically and then reboots during the updating process, and you want to stop that?
Here's a link to turn off updates - https://www.minitool.com/data-recovery/how-to-stop-windows-11-update.html
Or turn off auto reboot when updating - https://answers.microsoft.com/en-us/windows/forum/all/is-there-some-way-to-turn-off-auto-restart-in/bcd358c0-0ab2-4895-aaa0-2c8a5d943194#:~:text=(For%20Windows%2011)%20Naviga te%20to,users%20for%20scheduled%20automatic%20upda tes
I strongly recommend that you don't turn off updates as it'll likely affect Windows defender and you'll not have latest virus definitions etc.