RE: Adxstudio - locked user
Hi partner,
If you are using Dynamics 365 portal, please go to Dynamics 365 portal->Sit Settings and find or add the following records.
1.Authentication/UserManager/UserLockoutEnabledByDefault
This setting indicates whether the user lockout is enabled when users are created.
2.Authentication/UserManager/DefaultAccountLockoutTimeSpan.
The default amount of time that a user is locked out for after Authentication/UserManager/MaxFailedAccessAttemptsBeforeLockout is reached. Default: 24:00:00 (1 day).
You could change this value to 12.
For more information, please refer to this doc.

https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/set-authentication-identity
Hope it helps.
Best Regards,
Leo