The author didn't break the toilet. I don't know why commenters here think he did.
It was back to functioning normally only a short time later in any case.
In any case, on behalf of British train users, please stop occupying the toilet needlessly and playing with the door locks. What happens if you or the next person gets locked in there? What happens if someone thinks you're being suspicious and calls the transport police? The services are delayed enough as it is.