open the safe in Rugald’s mansion, the second one too - then you can work with rebels and they will help you to avoid it!
I didn't know the password for the left safe, I only opened the right safe
there is a hint about it in the nearby room with dolls!
I have tried multiple times and get 1332,but I still don't know why it's in this order