The concept is very similar between those two, which means that someone enters specific space.
But the usage is differenct, and it depends the view, who says the scene.
I give you some example to understand the difference between 들어가다 and 들어오다.
If I enter my brother's room, I can say 나는 동생 방에 "들어간다".
If I see my brother entering my room, I cant say 동생이 내 방에 "들어온다".
I am not sure whether you can get what I want to say. I hope you do.