Expand user and goto user by complex selection. Enter the required info and get the results.
Refer Users by Complex Selection Criteria (RSUSR002) (SAP Library - Identity Management)
For locked user, under user selected locked user set the criteria and execute.
Refer for more options
In all cases you can export the result by going
System>List>Save-->Local File and select format
Regards