Does anyone else face this problem where if you're anxious about some thing (issue/memory/thought), you can't bring your brain to think about it? When I try to focus on it, I totally blank out instead.

The best description I can give is that it feels like it's a locked box inside my brain and even I don't have access to those thoughts. 

Sometimes this feels like memory loss - e.g. I know I fought with my SO last night but if I try to remember the details, I just can't. I feel like the information is there but my brain refuses to focus on it. 

Has anyone else experienced this feeling? Does it have a name? How do you make it go away?