If your vehicle has Mazda optional antitheft wheel lug nuts, one on each wheel will lock the tires and you must use a special key to unlock them. This key will attach to the lug wrench.
Register them with the lock manufacturer by filling out the card provided in the glove compartment and mailing it in the accompanying envelope. If you lose this key, consult an Authorized Mazda Dealer or use the lock manufacturer's order form, which is with the registration card.
Accessory wheel locks cannot be used on steel wheels. This includes situations when the spare tire is installed. If the spare tire is installed, one of the original lug nuts (which should still be in the vehicle) must be installed in place of the wheel lock.

To remove an antitheft lug nut
1. Obtain the special key for the antitheft lug nut.
2. Place the special key on top of the antitheft lug nut, and be sure to hold the key square to it. If you hold the key at an angle, you may damage both key and nut. Do not use a power impact wrench.
3. Place the lug wrench on top of the key and apply pressure. Turn the wrench counterclockwise.
To install the antitheft lug nut
1. Place the special key on top of the nut, and be sure to hold the key square to it. If you hold the key at an angle, you may damage both key and nut. Do not use a power impact wrench.
2. Place the lug wrench on top of the special key, apply pressure, and turn it clockwise.

Removing a Flat Tire
Mounting the Spare TireMazda 6 Owners Manual: Instrument cluster configuration
1. Connect the SST (WDS or equivalent) to the DLC-2.
2. Input vehicle information following the directions on the screen.
3. Select Module programming.
4. Select Programmable module installation.
5. Select the following items and perform procedures according to directions
on the screen.
...
Mazda 6 Owners Manual: Electrical parts
Battery cable
Before disconnecting connectors or removing electrical parts, disconnect
the negative battery cable.
Wiring Harness
To remove the wiring harness from the clip in the
engine room, pry up the hook of the clip using a
flathead screwdriver.
...