This problem has been discussed a number of times online: I'm using Google Maps on an iPhone 12 Pro Max in my vehicle, and the lock screen blanks out the app. Apparently, the only fix is to go into Settings and set Auto-Lock to "Never" before launching the app. I was hoping I could create a shortcut that would do that automatically for the Google Maps app, but, apparently, a shortcut can't govern the lock screen. Just wondering if anyone has found a more convenient way to turn the lock screen off during the time that the Google Maps app is active.