What do you mean by door lock, where does the code show up?
But door locks refuse to unlock from Hey Siri, so you have to unlock and use your phone.
So I made them appear as door locks (my idea, heh, AI didn't come up with that).
And with lights, locks, and brightness/color being able to be modeled in Hass's interface to HomeKit and Siri, you can basically do ANYTHING that can be turned into on/off, lock/unlock, or a slider.
You could probably build a remote paintball turret with it, camera for viewfinder, sliders for elevation, rotation, and azimuth, lock for arming, switch for fire.