hold captive vs lock someone up

hold captive

lock someone up

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