Complex sentence: The side with the move may have to move the king away, potentially allowing the opposing king access to important squares.
Split into simpler sentences: The side with the move may have to move the king away. This allows the opposing king access to important squares.