Some user accounts get locked in active directory due to failed log-in attempts. This issue happens upon starting to pull from a remote repository. Login via web access to our Bitbucket server does not fail. Initial login via sourcetree to clone a repository does not fail either.