Of course it's OK. What are you talking about?
Short answer because I'm lazy: It's never about gender equality, it's about mannerism. You do it because it's norm. Why should you hold the door open for someone else? You went through all that trouble to open it, everyone should. On the contrary, before anyone else enters you might as well quickly close it so they get to open it like you did.
See the point?