Most locks on most residential facilities are not about security so much as a "tamper evident" seal for insurance purposes.
But I was refuting the specific idea that house locks are a tamper evident seal. They are trivially easy to bypass in a tamper evident manner.
If it's just a code, tons of legal ambiguity comes up. Can a gf shoot her exbf that she gave the keycode to last month?
How is this different from a physical key?