Such pinning sites cause the domain wall to sit in a local energy minimum and an external field is required to unpin the domain wall from its pinned position.
Once a dislocation has become pinned, a small extra force is required to unpin the dislocation prior the yielding, producing an observed upper yield point in a stress-strain graph.