In the keyboard section of the system preferences there is an option that might help you. I don't have my macbook pro present right now so I don't know exactly what its called.
At CES 2022 this week, lock manufacturer Schlage announced it is launching the first lock in North America to support Apple’s Home Key. The Schlage Encode Plus Smart WiFi Deadbolt is an updated ...