Nice! I moved too. My landlord tried picking a fight with me then when that didnt work, attempted to lock me out. I came back with my parents and he hid in his room.
Don't ever take that shit from a douchebucket. I've rented like fourteen places over the last twenty years, and I can tell you with absolute certainty - landlords are, more often than not, control freaks.
This will most likely touch off a firestorm of property rights jiber-jabber. Fuck that noise. The tenant has a certain amount of leeway, and the owner/landlord will almost always overstep his bounds. As long as you pay your agreement, and you don't leave the place a shithole wreck, he can go fuck himself. If he locks the door, kick it right off the fucking hinges. Your stuff is in there, and the utilities are in your name. You've signed papers that entitle you access. That is a boundary he may not overstep for any reason if your situation is in reasonably good standing order, meaning you've paid your rent and he has not filed any eviction notices.
There was a time, up til my late twenties, when I would have put up with that shit. Wondered who was right and who was wrong. Not any more. Now I know exactly what my rights are, and god help the fool who makes the mistake of fucking with me and my residence.