Sets whether the specified bone is controlled by animation or controlled manually. When controlled by animation then none of the SetObjectBonePosition or similar commands will have any effect. When controlled manually the bone will maintain its current position unless modified by you.
SetObjectBoneCanAnimate( objID, boneIndex, animate )