As far as I know you have to be getting power to the brakes directly. So your controller is wired incorrect or is defective, or you have the wires wrong at the plug. The only other thing but they would be locked all the time is they are seized up in the applied position.
Craig