Keycloak Custom message on user temporary lock

Hello, I would like to share with you my solution for this problem.
Personally I prefer not to warn the user that the account is blocked on the login page because it would indicate to the potential attacker that there is an account with this email.