Controlling etch progression by depositing an etch stop layer, e.g. silicon nitride, silicon oxide, metal