add_manual_locked_constraints function

Add manually specified locked constraints