Changing between multiple Microsoft Teams accounts within the app or browser
If your account is locked, this may prevent you from leaving an organization. According to the information provided, you might not be able to leave an organization on your own if:
- The organization you want to leave does not allow users to leave by themselves.
- Your account has been disabled or locked.
In such cases, you will need to contact the admin or privacy contact for that organization to request removal from their organization. If you see a message indicating you need permission to leave, this confirms that you cannot do it independently due to the restrictions in place.
References: