Not all attributes are searchable so for this particular query, you'd have to pull the zones you want to interrogate and then loop through and inspect the locked status for each. The loop itself will be fairly rapid.