Given the explicit description of the door being red, maybe it's a twist on the "Red light/green light" game, the door turns green and opens if you're not looking