In order for your landlord to evict you, they must go to court to get an eviction order. Your landlord cannot prevent you from having access to your home without an eviction order. If your landlord evicts you without an eviction order, that is against the law.