2011 Malibu LTZ 3.6L V6 Red Jewel Tintcoat
I checked my copy of the electrical drawings for a Gen7 2008 (it's all I have) and I don't see any indication that an electrical signal is sent to the key switch to lock or unlock it. I believe that it's a simple cable attached to the shifter that engages or disengages a mechanism to allow you to remove the key. You might be able to inspect and/or adjust it by moving the passenger seat fully rearward and then removing the center console cover. If you need to see the other side of the shifter, it might be viewable from the driver's side, but there's some stuff in the way.