The code on the door needs to be completed from left to right, if it shows a shape you need to click on the knocker with the same shape. If it shows a number, you need to click on the knocker in that position.
For example: the first one is an oval, then its the second knocker (diamond)
I added the full answer to the comment on WeightGaming! Hope you enjoy the game!