I think the question is not whether the maid should have knocked or not.
I think the real question is how do you respond when you encounter such irritating situations?