Crosstrek sudden acceleration while braking

If you are pulling into a parking stall, you have light pressure on the brakes to come to a slow and even stop. Then if all of a sudden the car lurches forward, it is likely to overcome the light pressure you have on the brake pedal. Normally you want to come to a smooth stop, in fact in driver’s ed back in 1964 we were taught to actually let up on the pedal a little just before you stop in order to avoid the car jerking. Just seems to make sense that if the rpms all of a sudden increased, you wouldn’t be ready for it.