The leaving home light turns on the lights when the transmitter unlock button is pressed while away from the vehicle.
The following lights turn on when the leaving home light is operated.
Low beams, Parking lights, Taillights, License lights.
To turn on the lights
When the ignition switch and the headlight switch are in the following conditions, the headlights will illuminate when the transmitter unlock button is pressed and the vehicle receives the transmitter signal.
The headlights turn off after a certain period of time has elapsed (30 seconds).
NOTE
Mazda 6 Owners Manual: Locking, Unlocking the Doors
NOTE
The system may not operate if you are too close to the windows or door
handles.
If the key is left in the following areas and you leave the vehicle,
the doors may be locked depending on the radio wave conditions even if the key
is left in the vehicle.
Around the dashboard
...
Mazda 6 Owners Manual: Scheduled Maintenance (U.S.A., Canada, and Puerto Rico)
Follow Schedule 1 if the vehicle is operated mainly where none of the following
conditions (severe driving conditions) apply.
Repeated short-distance driving
Driving in dusty conditions
Driving with extended use of brakes
Driving in areas where salt or other corrosive materials are used
...