lock someone up vs put into irons

lock someone up

put into irons

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