pen in vs put under lock and key

pen in

verb
  • To enclose (animals) in a pen. 

  • To schedule; fix a date for. 

  • To cause to be stuck in a situation; to be forced into a situation by circumstances. 

put under lock and key

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