Lock Up and Commit
The terms lock up and commit are synonyms (terms with similar meaning).
The expression Lock Up can be replaced with verb Commit in some context.
Lock Up and Commit are mostly used as synonyms in topics related to: apprehend, hold, detain, jail and institutionalise.