Hi, I'm Independent Advisor, I'm here to help you.
Please try to disable automatic restart:
1.Launch Settings.
2.Go to System > About.
3.From Related links, select Advanced system settings.
4.In the System Properties window, open the Advanced tab and click Settings below Startup and recovery.
5.Below System failure, uncheck Automatically restart.
6.Click OK to save your new system settings.
Also try some following methods:
https://www.makeuseof.com/windows-11-restarting/
I hope it helps, let me know if you need any further assistance.
Kind Regards,
Hania.
Standard Disclaimer: This link is a non-Microsoft website. The pages appear to be providing accurate, safe information. Watch out for ads on the sites that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the sites before you decide to download and install it.
Disclaimer: Above link is in English,you need to use Translater to see in your language.