Locked users in filters only visible to administrators
As per the comments to Feature #15201: Filter "Assignee" should contain locked users.
Only administrative users can filter issues by locked users. Anyone should be able to do this.
Locking a user should prohibit logins with this account and nothing else. All queries related to a locked user should proceed as normal.