Lock account after failed logins


Is there any feature (or plugin) for locking a user account if there are a certain number of failed attempts to login to the admin pages? I was thinking of something like locking an account for 10 minutes if there are 3 failed login attempts after each other in a short space of time.

I couldn't find any sign of something like that, but it would be useful.