Allow locking/unlocking the position or rotation of an object (ignore parent transformations)