have a lock on vs swear up and down

have a lock on

swear up and down

How often have the words have a lock on and swear up and down occurred in a corpus of books? (source: Google Ngram Viewer )