@Xahare
Thank you for the update and I'm glad that you were able to resolve this issue!
When it comes to the error message you received, this is related to the Account lockout threshold policy, which determines the number of failed sign-in attempts that will cause a user account to be locked. A locked account cannot be used until it is reset by an administrator or until the number of minutes specified by the Account lockout duration policy setting expires. For more info.
Additional Link:
The referenced account is currently locked out
If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.
----------
Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.