Start with identifying the brake system your car has.
Also try to identify which wheel or wheels lock up.
Lock up caused by rapid hard application of the brakes is normal in some circumstances. So keep track of the exact situation the wheel or wheels locked up under.
Do a visual check. Start with condition of the fluid in the master cylinder. Then check the brakes on each wheel.