Under the laws of all states in this country one's landlord cannot legally change the locks to a rental over a rent dispute with a tenant absent a court order allowing such. If your locks are changed then you need to consult with a landlord tenant attorney to advise you of your legal options and recourse.