finally LockConstraint is working properly
updated build