Hi,
Thank you for posting in Microsoft Q&A forum.
You may configure the maintenance window, then the updates will only install within the maintenance window.
To achieve this, you can create a required deployment with an installation deadline and select the option to suppress system restarts for servers and workstations. This will ensure that the software updates are installed, and the system is restarted automatically without user intervention.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".