Landlords must comply with state laws and lease agreements, which may require providing proper notice to tenants before showing the property, handling security deposits, and addressing lease termination or transfer. Additionally, landlords must respect tenants’ rights, privacy, and living conditions during the sales process, and address any concerns or issues that may arise during the sales process.