Is the barn dark? Any weird smells? She could just think she can get away with it either. Is it a new thing that’s developed recently?
You could try backing her into the barn so she won’t rush in maybe try it with someone else as well to make sure she won’t turn around and hurt herself :)
Maybe shes Very food motivated if there is food for her when she comes in?