lock in vs shut away

lock in

verb
  • To secure (someone or something) in a locked enclosure. 

  • To fix the value of (something potentially variable). 

  • To prevent from escaping or deteriorating. 

shut away

verb
  • To isolate (someone) in a closed-off area or room. 

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