As mentioned, you will have to turn your phone/bluetooth off or your TMY will stay open.
Do you have an apple watch? If so, you can set your watch as a key. Because of how Apple manages the OS, the watch can shutoff the Tesla app to conserve battery power. I have a second screen with my Tesla complications (hard press, swipe left set as active screen), or I open the Tesla app on the watch and I can use my watch as the key. I use it when I am home and leave my wallet and phone inside the house.
I have an AWU 1.