lock someone up vs put under lock and key

lock someone up

put under lock and key

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