.38 and .357 head space from the rim, it's bigger around than the hole in the chamber so there's no way the rounds can move forward from that point.
.40 and 10 mm don't have rims, their largest case diameter is basically the same as the smallest case diameter, so traditional revolver head spacing at the rear of the cylinder won't work.
What they did with previous guns was machine a step in the chamber that left the forward portion larger than the bullet, but smaller than the case so they could headspace from the case mouth .