It would be interesting to see this in the game, and I think sooner or later it will be added, since the role of locks in the game is too small and it would be possible to make sure that the castle cannot be captured until a certain number of cells near it are captured.