adding api to lock redundant joints for ik