imprisoned vs locked up

imprisoned

locked up

How often have the words imprisoned and locked up occurred in a corpus of books? (source: Google Ngram Viewer )