Brakes locking up.

The residual valve would never be able to lock up the brakes. You should remove or puncture it if present, however.

What is PROBABLY wrong is that either there is a wrong piston / other parts in the master, or else the pushrod is TOO LONG and not allowing the piston to return BACK past the port in the floor of the cylinder reservoir