Q - How does the examiner know how much braking you are using? A - He doesn't
If it was the rear wheel that locked I would suggest applying a small amount of rear brake, the examiner will only see that your foot has applied pressure to the lever, so that you're not even really using the rear brake. If it was the front, then don't squeeze so hard, apply a bit of pressure so that the pads bite the disc and the weight is pushed over the front wheel, then apply further pressure until just short of stopping, then release some pressure to stop the nosedive. You will pass as long as it safe, legal and under control. Remember it is just a quicker stop than normal, it's not as if some pillock has just pulled out in front of you so you are not going for the shortest stop record.