When you are braking hard on a descent the weight transfer makes the rear very light. If you hit a small bump the rear wheel will get even lighter. So if you have the rear brake on too hard, you will lock it up.
The solution is to use less rear brake. If you do start locking up the rear, back off the brake.