Tenants have certain rights established by law as well as rights that may set forth in a lease or rental agreement. For instance, a landlord must maintain the rental property in a “habitable” condition which includes things like complying with housing codes, providing adequate doors and locks, and maintaining adequate electrical, plumbing and heating components. Tenants are also entitled to the "quiet enjoyment" of the rental property, which generally means that the tenant is entitled to reasonable peace and quiet and to enjoy the property without interference from others. State laws set forth how a tenant may enforce these rights against landlords.