Yes, they need to give you a "reasonable" time to move by written notice and if they don't, they need to remove you through the courts (they can't simply lock you out) through the filing (and service on you--so you will get more notice) of the legal papers for a type of legal action traditionally called an action "for ejectment."