I can't figure out what the logic was for opening up a gap around the side plates. The repair should not be very expensive. It would involve adding a wood inlay, glued in around the lokcs and then re-inletted so it fits snugly around the lock plates. Sand, stain to match and finished. It would not harm the stock and evenm the missing wood below the lock plates could be repaired at the same time.