Just bought my 2017 Off Road and found a procedure posted on a dealer website that describes how to "reset" auto lock on a Corolla, so I thought I'd give it a try before purchasing a programming app or going the dealer route. It worked, with a tweak... after a few tries I realized "reset" means setting it to the default auto-lock mode, so instead of pressing the Unlock button during the procedure I tried the Lock button instead, and it worked!
Here's what worked for me:
1. Turn off vehicle, close all doors, and leave seat belt off
2. Turn the key to ON (do not start)
3. Turn the key back one place to ACC, then turn back to ON
4. When seat belt light flashes on dashboard, press the Lock button on the door and hold for about 5 seconds (when light stops flashing)
5. The locks will cycle to let you know the change was applied
To return setting to auto-lock (when shifting out of Park), follow the same procedure using the Unlock button instead of Lock.
Hope others find this helpful!