The Knight’s Factorium Game

Navigate a maze by unlocking doors using a super-secret code: (hint: the code is ALL of the factors of the number in question)