In most states, the landlord-tenant law clearly limits a landlord’s behavior. For instance, a landlord cannot arbitrarily end a tenancy agreement early, enter a rented unit in a non-emergency situation, or discriminate against tenants.