Odoo has parameters to limit the login attempts and apply a cooldown.
base.login_cooldown_after
base.login_cooldown_duration
But, this only works when you fail the username, if you have an active username, you can attempt as many times as you want until you guess the correct password.
Is there any way to apply the cooldown even if the username is correct?