Welcome to Microsoft Q&A! Thanks for posting the question.
The reboot would happen after the patch installation, provided at least 20 minutes remain in the maintenance window. Therefore, in your example above, the reboot would happen after 30 minutes.
Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.