After doing a couple of Thieves Guild jobs that involved Ogmund the Skald's house in Markarth, for some reason, his door stopped locking at night like it should. I did break into his house both times, which may have messed something up. He still gets mad when you trespass though. There's a possibility this won't be something that can be reproduced and is engine related in some way.