Couple things could contribute to this
(1) ABS could activated when slipping is detected (too fast and suddenly braking)
(2) Brake fluid has not been changed for more than 30kmi. It absorbed moisture which became air in your system when it's hot. Bleed the system immediately.
(3) Brakes pistons stuck (unlikely here)
(4) ...
