I guess that system is pretty much the same on the whole world, so I'll tell you how it works here where I live.
They come and knock you at the door yes, and if you're not at home, they take it back to the post office but leave a "letter"/sheet whatever to tell you that the packet arrived and...