Locking means for flange rings or seat rings