The issue is not so much whether you were a "tenant" per se as that any permitted or invited resident of a premises must generally be evicted--if he or she does not go voluntarily--through the courts. So you could be given notice to leave, and if you don't leave by the end of the notice period, you could be evicted through a legal action. If you were simply locked out (or th equivalent) without notice and without a legal action, it may have been an illegal eviction.However, even if it was, it's not clear that there effectively anything to sue for. Since you were not paying any rent, you can't really recover damages. You might be able to force them to let you back in, but that would just be temporary, since they could then provide notice and evict you out properly. There is no cause of action for being "bullied" or "harassed" unless you feel it was because of your race, religion, sex, age over 40, disabilty, etc. So this may be a case where you technically have rights, but it's not worth the cost (i.e. a lawsuit) to enforce them. You may wish to consider it a win that you lived for 11 months rent free and leave it at that.If you still want to look into this, you should consult with an attorney with landlord-tenant experience. Good luck.