I had the worst time getting 'walk away lock' to work. In my previous two Model S it worked fine but I was using the key fob. With my Y and using just the phone it just wouldn't work. The car kept warning me the doors are not locked when I parked the car. I doubled check driver profiles and settings. Just would not work.
I finally figured it out. I have two phones and the Tesla app installed on both. One stays in the car, one comes with me. I have disabled [phone key] in the app's settings. This way it is not supposed to act as a key for the car. It works as far as not unlocking the car when you walk up with the phone. If it's turned off it will not unlock the car. But for some reason it still prevents auto lock to work. It technically should not, but that's what I just found out was the issue.
Until Tesla fixes this, the only way is to either disable Bluetooth or remove the phone as a key completely from the car.
I finally figured it out. I have two phones and the Tesla app installed on both. One stays in the car, one comes with me. I have disabled [phone key] in the app's settings. This way it is not supposed to act as a key for the car. It works as far as not unlocking the car when you walk up with the phone. If it's turned off it will not unlock the car. But for some reason it still prevents auto lock to work. It technically should not, but that's what I just found out was the issue.
Until Tesla fixes this, the only way is to either disable Bluetooth or remove the phone as a key completely from the car.