In the presence of random fields at an interface between a ferromagnetic and an antiferromagnetic layer, the domain walls in the ferromagnetic layer are pinned by local minimum energy. To move the domain walls, an applied magnetic field must be large enough to overcome statistically fluctuating energy. We have calculated this energy and found that the coercivity can be as large as a few kOe for a thin ferromagnetic layer. It is also found that the coercive field at low temperature scales as 1/ t 3/2 where t is the F layer thickness, and the coercive field decreases strongly with temperature.