leave out in the cold vs lock out

leave out in the cold

lock out

verb
  • To prevent from accessing a data structure. 

  • To inadvertently prevent (a person, particularly oneself) from entering a place, by leaving it locked. 

noun
  • An event in which an employer bars employees from working as a tactic in negotiating terms of employment, particularly in response to a strike or threat to strike. 

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