Got stuck at the part where theres a key with a cage and stuff, maybe make it more clear?
I've changed the old man's dialog to help you through the code section. It should be more clear now!