Depending on the model, it usually blinks an LED and vibrates a pattern to let you know it's time for replacement. It's definitely not a hard lockout or anything.
The brush heads for advanced models also tell the brush which cycle to use and which intensity to vibrate at (e.g., for tongue cleaning brushes vs normal brushes).
The brush heads for advanced models also tell the brush which cycle to use and which intensity to vibrate at (e.g., for tongue cleaning brushes vs normal brushes).