Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
If the Hotmail account has been permanently closed, you can't reopen it.
If there is a chance that it is still in the grace period (either 30 or 60 days), you should be able to reopen the account. See https://support.microsoft.com/en-us/account-billing/reopen-your-microsoft-account-52d7f36e-4c2f-489a-8584-de5fc7918362 .