Actually on Android 12 turns your Pixel 6 and Galaxy S21 into digital car keys is possible.

If you have a phone that supports Ultra Wideband (UWB) technology, you won't even have to take it out to unlock or start your car. You can also easily unlock your car by tapping your phone on the door if it is NFC-enabled.

Work with brand new BMW :https://play.google.com/store/apps/details?id=de.bmw.connected.mobile20.na