Yes, you insert between the center point of the divider and the A0 input a protection circuit.
Specifically:
Between the center point of the divider and the A0 input insert a 10 k resistor.
Between the center point of the divider and the +3.3V insert a schottky diode with the cathode connected to the +3.3V.
An example of such a diode is 1N5711.
The 10k resistor might cause a slight error in the measurement, but probably negligible.