lock up vs restrict

lock up

verb
  • To stop moving; to seize. 

  • To invest in something long term. 

  • To close all doors and windows (of a place) securely. 

  • To (mistakenly) cause or have one of one's wheels to lock up (stop spinning). 

  • To lose one's forward momentum; to freeze. 

  • To imprison or incarcerate (someone). 

  • To cause (a program) to cease responding or to freeze. 

  • To stop spinning due to excessive braking torque. 

  • To travel through a flight of locks on a waterway in an uphill direction. 

  • To cease responding; to freeze. 

restrict

verb
  • To restrain within boundaries; to limit; to confine 

  • To consider (a function) as defined on a subset of its original domain. 

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