@Loh Jane,
Hi Jane
Knock has lots of meanings and submeanings. You can certainly 'knock a door' - but it isn't the same as 'knock on a door' in normal usage.
'Knocking on a door' is the act of hitting it to make a noise to attract the attention of someone on the other side of it.
'Knocking a door' could mean bumping into it accidentally while carrying something through it or past it - or (more idiomatically) making disparaging remarks about the door.
Someone would understand what you meant but it would sound a little funny to most native English speakers.
Sorry English is such a stupid language. (That's me knocking English)