lock awayphrasal verb
Definition of lock away
1 : to put (something) in a locked container, place, etc. The jewelry was locked away in a cabinet.
2 : to put (someone) in a locked place (such as a prison) for a long period of time lock away a criminal The state locked their sister away in a psychiatric hospital.
3 : to keep (oneself) alone in a room or place for a long period of time He locked himself away in his room while he studied. He was locked away in his room while he studied.