jailed vs under lock and key

jailed

under lock and key

prep
  • imprisoned with little or no chance of escape; locked up. 

  • safely guarded; locked away. 

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