When you need a sunvisor, lower it for use in front or swing it to the side.

Side Extension Sunvisors (Some models)
The visor extender extends the sunvisor's range of sun shading.
To use, pull it out.

CAUTION
When moving the sunvisor, retract the visor extender to its original position. Otherwise, the visor extender could hit the rearview mirror.
Vanity MirrorsMazda 6 Owners Manual: Pcm removal/installation
Note
For replace the PCM, Setup the WDS and perform the PCM
configuration. (See PCM CONFIGURATION.)
1. Disconnect the negative battery cable.
2. For R.H.D, perform the following procedures.
(1) Remove the front side trim (left-side).
(2) Partially peel back the flower covering.
3 ...
Mazda 6 Owners Manual: Rear door lock actuator inspection
Door Lock Actuator
1. Disconnect the front door lock actuator connector.
2. Apply battery positive voltage to the front door lock actuator terminals
and inspect the operation of the front door lock actuator.
If not as specified, replace the front door lock actuator.
With double locking ...