locked up vs penned up

locked up

penned up

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