why does it literally feel like information I had in my memory is locked behind a doorway the second I walk through one!!!! why do I keep forgetting everything

why does it literally feel like information I had in my memory is locked behind a doorway the second I walk through one!!!! why do I keep forgetting everything