Yes but then your ex could just break in if he didn't have a key. If he owns half of it then you can't do anything about it, you can't be 'done' for breaking into your own house.
He may have a right to enter the house but Iam not sure that he has the right to damage your property. Call the police if he damages anything. ie Locks that you have paid for.