Search for locked gates