[Defender] Ban user permanently after the second try

I would like to see the following feature in defender plugin, to be able to block for 30min for incorrect login/404 attempt, they can try again after 30min. But if after 30min , it happens again, set a permanent ban.
So I can send them a warning the first time and if it happens again then they will know why and we don’t lose the customer.