Unless it is a re manufactured part, you bought something that came off a car that had who knows what problems.
I think you are going to be looking at a brake hose. I would imagine that it wont let the caliper release completely, causing heat from the friction, which is transferred to the fluid. If indeed the fluid cannot return to the master cylinder, it will just heat up and expand and lock the wheel.
I would be looking for kinks, pig-tailed(twisted) or otherwise visually damaged hoses. However keep in mind that its not always apparent on the outside.
If you replace the drivers side, proactively change the passenger side as well. Of any system on a car, brakes would be the absolute worst thing to pinch pennies on. I understand the hoses are not just a few bucks, but cheap and used parts are asking for trouble.