in prison vs under lock and key

in prison

prep
  • imprisoned; in a prison as a convict 

under lock and key

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

  • safely guarded; locked away. 

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