>gates at the entrance of Heaven
The Bible uses words and explanations for stuff in a way that our human brains can visualize.
The use of the word gates is not literal.
But it seems to imply that it will be a place that is protected from evil entering it.
I guess Evil had access to the Garden of Eden.