Effects of multiple resistive shells and transient electromagnetic torque on the dynamics of mode locking in reversed field pinch plasmas