I remember there was a video talked about it.
The result was try to walk away from the front of your car, which would trigger the LOCK with shorter distance than walking away from the door side.
However, I believe Tesla is able to do better with OTA update, e.g, if the car sees (or GPS...