Do you know, if the user access the mail or Teams account in mobile device? sometimes, the password might wrongly registered in the mobile device and that is leading to the account lockout. Try to reset the password from the device and see if it helps. You may also try logout and login again from the device and see it helps
If the Answer is helpful, please click "Accept Answer" and upvote it