To prevent a line shape change its direction you shoul set its Rotate, ChangeStartPoint and ChangeEndPoint protections.