My professor keeps opening my office door without knocking at the door
Ethical yes. Polite no, it is not. I do not see what ethics (resolving human morality) have to do with opening the door. 

On a philosophical level, ethics and manners are kind of incompatible since they deal with a different nature of question.