Do you know what op .... If we were to completely cut out him locking you out of your own home at night and continuing to deny you access as you stood outside repeatedly asking him to let you in .....let's say the door was open when you came back; the first part of that night is still enough to consider getting rid of someone for!
He confronted a driver, who it sounds like did nothing intentionally wrong, extremely aggressively and it's only because the driver was calm and non aggressive that it didn't escalate into a full on fight. Which would have had the police called out and he could have been arrested. His behaviour was, at absolute best, over the top and aggressive and embarrassing.
Then, because you dared to point that out, he left you on a night out, and you had to go and get food on your own. While he walked off and went home like a sulking child.
None of this is functional, reasonable behaviour. He's an embarrassment, aggressive, rude and unreasonable. He's extremely inconsiderate towards you.
That's enough on its own.
And that's all before he decided he'd get some revenge on you for daring to call him out and for not following him home begging like a puppy at his heel. He decided he'd take all the power in the situation and "show you". He was no doubt enjoying himself immensely while you were outside repeatedly asking to be let in , til the point when you eventually contacted 101 for help.
You shouldn't have had to go and try to find a hotel with a free room and pay through the nose at night, as a woman on your own.
You shouldn't have to have gone and disturbed friends and been embarrassed having to ask for a bed or to sleep on a sofa, (and maybe having to travel there again as a woman on your own).
As many posters have pointed out, what impression do you think your friends would have of your relationship? Do they know about his "temper" already, have they ever commented?
If you'd been attacked on either of those journeys, it would have been his fault.
But you shouldn't have to have done either .... Just because he's a huffing, power playing, vindictive, (law breaking for that matter, you are a co owner), immature, nasty child.