lock sb into sth
phrasal verb with lock verb uk/lɒk/ us
to prevent a person or organization from leaving a legal or financial agreement:
The gas company is locked into long-term supply contracts.
Be careful not to lock yourself into a pile of financial commitments and a salary that only rises once a year.