Mine did the exact same thing and it was a seized brake caliper and a collapsed hose. You can probably get away with just changing the hose and trying to free up the caliper but as stated before the parts are cheap. Swap them out, bleed the brakes, and you should be good!