Go to the office and explain to them what happened that you are a roommate you paid your rent and utilities on time and they changed the locks on you. See what they can do. Sounds like what they did is illegal
Make sure your name is on the lease and explain to the office what happened.
Thanks! Your answer is awaiting moderation.