Many (possibly most) GNS/GTN pilots are not fully aware of how the auto switching process is supposed to work.
A search for VLOC digs out some threads here and here and here and here and here
I don’t fly with a Garmin box but if I was, I would be doing the mode change manually.