ABS 2000 GMC Sonoma 2 wheel drive

Under dry conditions the ABS works; but when slippery the front brakes lock up and the back brakes quit working. During this time the ABS light does not come on. Our mechanic says there is no code?

Are you sure you have 4 wheel ABS? and not just rear.