The only way I can think of is using LDAP or similar system do that.We have integrated teamsite to use LDAP and after 4 failed attempts it locks out the user.