If the door is working fine, and you cannot step further into it, it means that it is set to 'same as character'.
Any event that has 'same as character' priority cannot be walked on except if your player, or another event that is supposed to walk on it, has 'Through ON'.
Try using the Quick Event Creation to generate a door on your map and analyze how that event is done.