Knight Rescue

In a fantasy dream a boy has been locked by an unknown person.The door is locked with some tricky puzzle.The boy is really brave but he has to come out to save the nation.Use your smart skills.