Any time I had only one brake that would lock it was because there was some type of blockage going to the opposite brake causing too much fluid going to what is the good brake that locks up. It sounds like the line from master cylinder to rear is fine and it's probably the block or line to the right rear brake.