Lock Kerning values

Is there any way that we lock all kerning values for selected layers?

Thanks in advance!
Screenshot 2023-04-25 at 10.34.26

Not for selected layers. There is the “Compress” command in the kerning panel. That does it all kerning pairs. But it might copy specific glyph pairs where the “base” class pair has no value, too. So you need to thoroughly test the kerning afterwards.