anyone develop anxiety during pregnancy?!

I'm the type of person that will lock up all my feelings and emotions and just get on.. Put everyone else first doesn't matter how I'm feeling tell me to jump I'll say how high as long as it helps you and your happy, always been that way. 
Recently I've took time off work due to an incident which has brought on my depression more so which has turnt into anxiety too. 
I used to be such a bubbly out going person, loving the company of others. 
Now I can't even go to the gym during the day, I'll go in the middle of the night when it's empty. I won't go to the shop unless I absolutely have too as I don't want people to see me, or speak to me. I won't make eye contact, I won't go to my friends house just incase other people turn up and  I just want to cry or turn into the hulk. 
I've tried talking to my hubby about this, and it doesn't seem to quite get it but tries. 
This evening I found myself shut in my bedroom wardrobe. I can't remember getting in there but I remember hearing voices come through my back garden, one being my father in-law and the other I had no idea, so I just ran up stairs. 30/45mins I was in there, my hubby rang my phone as he couldn't find me and realised where I was. I apologised but panicked as I didn't know it was and wasn't ready. 
I feel like I've lost who I am. 😔😔😔😔