Thanks for playing Ayush!
Yeah in level 3 the intention was that the exit door would only unlock after you go collect something from another part of the level. But there wasn't enough time to build that out so the collectible was just left there without any functionality to it. But thanks for your feedback.