We studied the suppression of the weak antilocalization (WAL) effect and the dependence of spin dynamics for a two-dimensional electron gas in the inversion layers of two different Hg1−xCdxTe samples in the presence of in-plane magnetic field (B // ). The WAL magnetoconductance is fitted by the Golub model to acquire the variations of phase coherence time with increasing B // . The effective g-factors in the form of |m * r g * | (m * r is the relative effective mass) at zero magnetic field and high magnetic field are obtained by investigating the electron dephasing with varying B // and measuring the spin splitting of the Shubnikov-de Hass oscillations, respectively. As the obtained g-factors are in accordance with the reported results, the suppression of the WAL effect can be attributed to the competition between Zeeman splitting and spin-orbit interaction rather than to the microroughness scattering.