put into detention vs put under lock and key

put into detention

put under lock and key

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