@Cappelletti Mauro
Thank you for posting in Microsoft Q&A forum.
Under HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU, set AuOptions to 4 and enable NoAutoRebootWithLoggedOnUsers.
Note: if a user schedules the restart in the update notification, it will override this setting.
For the details:
https://learn.microsoft.com/en-us/windows/deployment/update/waas-restart#delay-automatic-reboot
https://learn.microsoft.com/en-us/windows/deployment/update/waas-restart#registry-keys-used-to-manage-restart
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.