  Following the finite-temperature ab initio calculation framework based on the
relativistic disordered local moments, we computationally demonstrate the
possibility of doping-enhanced coercivity at high-temperatures, taking YCo$_5$
as a working material in order to extract the $3d$-electron part of the
electronic structure of the rare-earth permanent magnets. Alkaline-earth
dopants are shown to be the candidates to realize the proposed phenomenon.
