The next time it happens, open the bleeder valve on your caliper. If the wheel spins freely afterward, you have a collapsed rubber flex hose. These let pressure through just fine but your caliper has no return pressure. If one is bad, replace both front and also the rear hose to the axle assembly. 10 years is a bit eaerly for one to fail but it's possible you got a bad batch that wasn't quite up to standards.