NiCoFe alloy, a medium-entropy alloy, shows potential for applications in extreme environments. However, there is a theoretical barrier concerning the unclear understanding of its high-temperature dislocation motion mechanism. The load response exhibits distinct signatures relevant to thermal activation, most notably a decrease in critical force (i.e., softening) from cryogenic to elevated temperatures, e.g., from 200 to 1000 K. The onset of plasticity is characterized by the nucleation of stacking faults and prismatic loops at low temperatures, whereas the surface nucleation of Shockley partial dislocations dominates plasticity at elevated temperatures. We show that thermal effects lead to non-uniform atom pile-ups and control the rate of phase transformation with increasing indentation depth. The findings in this work extend the understanding of the mechanical response of NiCoFe alloys under indentation at different temperatures, shedding light on the underlying dislocation motion mechanisms and surface deformation characteristics. The observed transformation-induced plasticity mechanism has implications for the properties of medium-entropy alloys and their potential applications in extreme environments.