lock up vs put into detention

lock up

verb
  • To invest in something long term. 

  • To stop moving; to seize. 

  • 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. 

put into detention

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