Dragon Age: Origins
Maybe the trainer corrupts something? I don't know, still stuck.
Luckily i saved the game right when i woke up naked in my bedroom before. I reloaded, and did the exact same thing i did before (clearing the castle) and this time the side door was unlocked. I think it just bugged :P