Yes, but now you’re weakening two aspects of the security, not just one. And for the digital solution you would also need to (break into the network + break into HA) -or- (break zigbee/zwave/thread) + be physically present to take advantage. I would argue this is generally more secure than a mass-produced lock with unknown vulnerabilities that’s easily recognizable from outside.
Which search engines give results without an AI generated response?