This guide contains heavy spoilers; answers for all of the puzzles and riddles in the game.
Library combination lock – 846
Ruins sanctuary padlock – 7221
Test of Knowledge answers – Swordarm, Kindness, Martyrs
“What is my name?” – Ivarin