Ah, it's possible you fix a different door (that was also suffering the same issue).
The one I was referring to is THIS one:
Perhaps you should make it so "ENEMY LOCK" doors do not accept Keys?
Ah, finally fixed the bug, thanks a bunch :)