Remember that grammatical gender is not the same as natural gender.
If translating from english it could also be "ihn" or "es" here, without any context.
Remember also that Tür is female, so 'sie' makes sense here.
I still don't understand why it isn't "es" if the translation is "is"...?
Isn't "One can open them only from inside" also correct?