Hi, you need to recover your account through the official account recovery form since your phone number no longer works. Go to https://account.live.com/acsrand fill in the form with as much accurate information as possible, such as previous passwords, email subject lines, contacts, and account details.
After submission, Microsoft reviews the details and sends the result to the contact email you provide. If the information matches, access is restored and you can update your new phone number.