Or just a cryptographic challenge/response. No range limitations like time-of-flight, protects against replay, cheap with appropriate hardware. And since key fobs are custom hardware anyway (and typically expensive!) the <1$ crypto ICs I've used like the Microchip ATECC608 could be added to implement it with minimal price increase.