Within the Microsoft 365 admin center, reset the user's password. This will stop the user from accessing the mailbox.
More information on blocking user access to an Office 365 mailbox can be found here.
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center