If rotation is locked it will not be changed during movement. And some other events. You still can set it directly using DIR.