Hi,
Based on my understanding, you want to Manage device restarts after updates, right?
1, In Group Policy, within Configure Automatic Updates, you can configure a forced restart after a specified installation time.
To set the time, you need to go to Configure Automatic Updates, select option 4 - Auto download and schedule the install, and then enter a time in the Scheduled install time dropdown. Alternatively, you can specify that installation will occur during the automatic maintenance time (configured using Computer Configuration\Administrative Templates\Windows Components\Maintenance Scheduler).
Always automatically restart at the scheduled time forces a restart after the specified installation time and lets you configure a timer to warn a signed-in user that a restart is going to occur.
2, When Configure Automatic Updates is enabled in Group Policy, you can enable one of the following additional policies to delay an automatic reboot after update installation:
Turn off auto-restart for updates during active hours prevents automatic restart during active hours.
No auto-restart with logged on users for scheduled automatic updates installations prevents automatic restart when a user is signed in. If a user schedules the restart in the update notification, the device will restart at the time the user specifies even if a user is signed in at the time. This policy only applies when Configure Automatic Updates is set to option 4-Auto download and schedule the install.
3, Configuring active hours with Group Policy
To configure active hours using Group Policy, go to Computer Configuration\Administrative Templates\Windows Components\Windows Update and open the Turn off auto-restart for updates during active hours policy setting. When the policy is enabled, you can set the start and end times for active hours.
For more information, you can refer to the following link:
https://learn.microsoft.com/en-us/windows/deployment/update/waas-restart
Best Regards,