What if, in 10 years or so, you can no longer buy locks and keys? Over the past 10 years, I can't find any incandescent light bulbs anymore...
Many countries phased out incandescent light bulbs as a regulatory change due to their low energy efficiency. In the USA, that phase-out deadline was 2012-2014 according to the US lighting energy policy. I'd doubt that there would be a government-mandated switch from physical to digital locks any time soon.