sp_LockUserDetails

Returns the list of users and users who locked
It was created from sample codes by researching videos and articles