under lock and key vs under restraint

under lock and key

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

  • safely guarded; locked away. 

under restraint

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