If you are required to change your password will need to sign out of your Microsoft Teams phone. Below our the steps to perform this sign-out.
At this point, the phone will sign you out of the phone.