Whether the Property Owner's Duty Covers the Broken Hardware You Noticed
Courts, rather than legislatures, built most of this duty. Under that common law, a property owner or manager generally owes the people on the property a duty to use reasonable care to maintain reasonably safe conditions. Depending on the facts, that can include security hardware.
How far the duty reaches depends heavily on who controls the property. An owner who keeps control of entry gates, common-area doors and key systems is in a different position from an owner who has handed a space over entirely to someone else.
Some legislatures have written specific hardware requirements into statute. Texas is one example, and its rule is Texas's alone. For residential rentals, section 92.153 of the Texas Property Code states that, except as other subsections of the section provide and "without necessity of request by the tenant, a dwelling must be equipped with" a list of devices, including:
"(1) a window latch on each exterior window of the dwelling; (2) a doorknob lock or keyed dead bolt on each exterior door; (3) a sliding door pin lock on each exterior sliding glass door of the dwelling; […] (5) a keyless bolting device and a door viewer on each exterior door of the dwelling."
The same section adds that "a security device required by this section must be operable throughout the time a tenant is in possession of a dwelling," with a stated exception allowing a landlord to deactivate or remove a doorknob lock's locking mechanism, or a device that is not a keyless bolting device, where a keyed dead bolt has been installed on the same door. Texas's subchapter also states that its landlord duties and tenant remedies are in lieu of common law, other statutory law and most local ordinances relating to a residential landlord's duty to install, change, rekey, repair or replace security devices, subject to an exception for certain earlier municipal ordinances.
Other states set different rules, and some have no hardware statute at all. Where a statute like Texas's exists, a landlord's failure to provide or keep working the listed devices can be relevant to whether the duty was met. It does not, by itself, establish liability; causation and damages still have to be shown, and whether they are depends on the facts.
For someone hurt at home or on another property, the first question is whether the hardware that failed was within the duty of the party in control. Which device failed, who was responsible for it, and whether the state has a hardware statute are all points an attorney can help sort out.