This happened to me once. I was scared shitless. I just sat in bed with the lights off, the person kept knocking for half an hour with me just hoping they stop. I eventually got up to see who it was. I saw a dark figure on the other side of the back door. I screamed asking who it was. No answer. I turned on the outside light to discover it was my brother. He was annoyed that I took so long.