I wasn't quite sure how to proceed past the 4th loop; pressing E on the door did nothing, but the idea is good!
Thank you for your feedback, we had to rush with the level design, sadly we ran out of time.