To get a quick list of users in AD whose accounts are locked, you can use Quest Software\’s free ActiveRoles Management Shell for Active Directory PS-Snapin. This snap-in simplifies a lot of the AD related functions through Powershell, finding locked user accounts is just one of them.
get-QADUser -Locked