He can change the locks. If you still live there, you can change them back.
My ex wife and I went through this. She changed the locks. I was still living there, so I changed them again. She called the police. There was nothing they could do.
Be careful though. This is likely going to lead to more problems where police will arrive and he/she will claim you hit them or something. Been there, done that.