A landlord in NYC must not retaliate against a tenant. Moreover, by law, landlords are required to provide a safe and livable environment. Therefore, a landlord is not entitled to cut your utilities unless they have a court order allowing them to do so. Electric, heat, and hot water are basic needs; if your landlord fails to provide them, they are not fulfilling their duty and breaking the law.