keep under lock and key vs take into custody

keep under lock and key

take into custody

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