have a lock on vs protected

have a lock on

protected

adj
  • Having the protected access modifier, indicating that a program element is accessible to subclasses but not to the program in general. 

  • defended 

How often have the words have a lock on and protected occurred in a corpus of books? (source: Google Ngram Viewer )