There's multiple things that can cause locking or dragging brakes, but with all of the dandy details you provided, this is likely related to the new master cylinder or the brake light switch adjustment. There's two ways to verify this. First, when the brakes are locked up, park on a slight incline or somewhere that you can easily push the car to know when the brakes are released. Shift to neutral, then either loosen the nuts holding the master cylinder to the power booster, and pull it forward about 1/8", or you can loosen the steel lines at the master cylinder. Either procedure will release the trapped pressurized brake fluid and let the brakes release.
If those procedures do let the brakes release, first look at the adjustment of the brake light switch. When the brake pedal is at rest, you should be able to pull it back a little more by hand. If you can't, the brake light switch is holding the pedal down. If that is far enough, the trapped brake fluid can't return freely to the reservoir. As the dragging brakes heat up, that heat migrates into the brake fluid causing it to expand. That applies the brakes even harder.
If the switch adjustment is okay, many import cars have power brake boosters with adjustable push rods. Those normally don't need to be readjusted when replacing the master cylinder, but someone may have tried to do that to solve a low brake pedal. If yours is adjustable, shorten it by about 1/16" to 1/8".
Tuesday, June 15th, 2021 AT 7:16 PM