XLR debuted the flush door handle/electronic door switches first, in 2004. It's a simple, reliable system, and there hasn't been much of a change in its operation since XLR production stopped in 2009.
When the door latches fail to operate properly, it's usually the driver or passenger interior or exterior switches, followed by the applicable door module. In the case of the XLR, there is no mechanical linkage that moves up and down to indicate door lock position. XLR uses an LED Door Lock Indicator that flashes to indicate status on the window sill.
There is a door latch, activated by the switches from the respective door module. It's electro-mechanical vice electro-magnetic. It doesn't make a loud, mechanical sound like a typical automotive solenoid, but quietly "thumps" --due to a very short throw, as it unlatches, as described above. The trunk latch is much louder, using a longer-throw solenoid to disengage the latch.
For this problem, since it's rare for the interior or exterior switch to simultaneously fail, the latch is suspect, followed by the door module. But . . . If a switch is shorted, it can send a continuous signal to the door module, preventing normal operation. Membrane switches usually fail open, but anything is possible.
It takes just a little longer to connect the scan tool than it does to troubleshoot the problem with it. A two-minute scan at a dealership will check all of these conditions. After it's diagnosed, you could order the part yourself (online, paying what the dealer pays) and perform the repair yourself, buying a nice set of indispensible trim tools with the money you save.
CCC