lock someone away—put smb. in prison or mental hospital:
- It would be inhumane to lock her away when she is suffering from a psychological problem that is producing her drug addiction.
lock someone out—
1. prevent a person from entering a room or building:
- He hasn’t made any threats, in fact once he locked me out and told me to leave.
2. prevent workers from entering a factory, etc. during an argument between management and the workers:
- The workers have been off the job since Monday, when management locked them out.