in jail vs locked up

in jail

prep
  • In a jail, as a prisoner. 

locked up

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