Eh? Bedroom doors are designed to swing to the inside. The hinges are on the inside side of the swing, so on a bedroom they face into the room. Guides online will tell you to insert a nail set or screwdriver at the bottom to pop the pin the through. That's the best way to do it, but not the only way.
In an emergency, you can use something sturdy under the head of the pin, and knock that. A nail file should work, and you should remove from the bottom up.