keep under lock and key vs rail in

keep under lock and key

rail in

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