lock in sth
phrasal verb with lock verb uk/lɒk/ us
to get and keep an advantage such as a low price for something:
People are rushing to purchase homes and lock in affordable mortgage rates before they increase.
be locked in a battle/struggle/dispute
to be involved in a disagreement in which the two sides have a lot of difficulty finding a solution:
Butler is currently locked in a legal dispute with his former employers.