I apologize if the pointless door at the end caused any confusion. It was intended to be used as part of the ending cutscene, but the ending changed so it’s now nothing more than a mere decoration.
As for the gallery access, scenes are only unlocked by seeing them at least once, but afterwards are unlocked in the gallery, and the gallery, in all save files.