I don’t see keys going away anytime soon.
One of my clients moved into a newly renovated medical office building recently. Lots of doors in their suite of offices and all unlock with a card that you swipe across a small square above the door knob/handle. If you do it right, a light flashes green and the door can be opened/closed. Absolutely no locks which require keys. The door the patient’s use has a dead bolt on the inside which they unlock each morning so patients can enter the waiting room and lock at night.
Understand everything links to a system in the security guard’s office on the first floor so it is possible to track whose card is being used on what door and when. Staff is really complaining about the system as they always have to make sure they have their card with them and have locked themselves out of their office on occasion.