We report that the thermal wall load due to locked modes can be decreased by means of gas puffing in the reversed-field pinch (RFP) device, TPE-RX [Y. Yagi et al.: Fus. Eng. Design 45 (1999) 409]. Under standard RFP operation in TPE-RX, the phase- and wall-locked modes, i.e., spatially localized and stationary magnetic perturbations, respectively, appear after the current-rising phase. The locked modes cause a severe thermal wall load of the order of 100 MW/m(2) on the first wall. It is estimated that the temperature on the plasma-facing wall at the mode-locking position sometimes exceeds the melting temperature of stainless steel. The thermal wall load increases with plasma current, I-p. We have succeeded in mitigating the high thermal wall load by gas puffing during discharges. It is shown that the maximum temperature increment of the vacuum vessel wall is halved when a gas-puffing rate of 200 Pa m(3)/s is applied at I-p = 350 kA. The characteristics of the temperature increase of the vacuum vessel are presented, and they indicate the nature of the locked mode in RFP discharges in TPE-RX.