The shift-lock system prevents shifting out of P unless the brake pedal is depressed.
To shift from P:
1. Depress and hold the brake pedal.
2. Start the engine.
3. Press and hold the lock-release button.
4. Move the selector lever.
NOTE
Mazda 6 Owners Manual: Clutch master cylinder disassembly/assembly
1. Disassemble in the order indicated in the table.
2. Assemble in the reverse order of disassembly.
Snap Ring Disassembly/Assembly Note
Hold the piston down using a cloth-wrapped pin punch.
If disassembling, remove the snap ring; if assembling, install it.
...
Mazda 6 Owners Manual: Rear oil seal
REAR OIL SEAL REPLACEMENT
1. Remove the flywheel. (MTX) (See CLUTCH UNIT REMOVAL/INSTALLATION)
2. Remove the drive plate. (ATX) (See DRIVE PLATE REMOVAL/INSTALLATION)
3. Remove in the order indicated in the table.
4. Install in the reverse order of removal.
Rear Oil Seal Installation Note
...