keep under lock and key vs lock in

keep under lock and key

lock in

verb
  • To fix the value of (something potentially variable). 

  • To prevent from escaping or deteriorating. 

  • To secure (someone or something) in a locked enclosure. 

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