Abs locking

Hi guys, my brake disc is bent and someone told me it’s not safe to ride a sport bike with a bent brake disc because this could lead to a sudden lockup of the tire due to an abs sensor failure.

It concerns my rear brake

Any experience or knowledge about this?