lock in

verbs

close with or as if with a tight seal
"This vacuum pack locks in the flavor!"
place in a place where something cannot be removed or someone cannot escape
"The parents locked her daughter up for the weekend"; "She locked her jewels in the safe"