The ‘doorway effect’ is when you suddenly forget critical info / memories when transitioning to another environment, like a doorway. This effect can have detrimental consequences.
[INTEL : The Method of Loci]
The Doorway Effect