Brake flex hoses

After getting the car sort of running, I tried to take it for a drive.  The car refused to move.  I let it sit for a while, and then tried again without touching the brakes and it rolled just fine.  A common cause of the brakes locking up is rotted flex hoses.  I replaced the hoses and that fixed the locking up problem.