This is not the door switch but the GEAR LEVER ALARM!!
If you try to move gear lever with pressing button it will sound and should prevent you from being able to move lever until button is pressed, it is a lockout to prevent accidental engagement of gear, standard fitment.
tabetha
ps the same buzzer does many functions such as lights as well