hold the line vs locked in

hold the line

verb
  • To firmly maintain one's viewpoint, principles, or situation; to refuse to change one's practices or plans. 

locked in

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