I have the same needs, so I got a small screwdriver about 3 inches long with a shaft thickness of a 1/4 X20 bolt size..
When I have to leave the door open for any reason, I slide the shaft of the tool in the slot where the door latches onto the place where it holds to the doorpost, and push the shaft toward the exterior of the door (like its actually closing),and the ding ding stops coz the car thinks the door is latched!
To undo it so the door can again close, just poke the tool into the little circle that the doorlatch has made with the latching process, HOLD YOUR DOOR OPENER OPEN, (LIKE YOU'RE OPENING THE DOOR) and slide the "tool" towards the inside, opposite that you did to stop the chime, and the circle will open again, and the car will "think" the door is open, and the door can latch when you close it.
Don''t forget to undo this before you try to close the door. Because the door will not, will not, WILL NOT
Close till you do. You'll know coz as soon as the latch opens, you will hear the dingie dingie dingie again.
All this explanation sounds soooo much like it's hard to do, but it takes maybe 3 seconds to accomplish. I was going to put in a doorswitch chime defeat but with the safety system of the car in mind, I decided not to.
Try it, youll love it.. I attached a magnet under the infotainment area where you cannot see without crawling under the dash, and I stick the tool to it when not using it.
Sorry for the long read I wanted everyone including the non-techies to understand.