Script Download: GetLockoutLocation.zip http://gallery.technet.microsoft.com/How-to-find-locked-out-1d964f6b
There are many reasons caused account locked out. The user has logged onto another machine, and not logged off. Then, if the user has changed their password while the other machine is logged in, it could be requesting resources using the old (and now incorrect) password. Every time it tries to get a network resource that requires authentication it will cause a bad password attempt. This script can scan where the locked out user account location.
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery