Jesus says you just have to knock, and the door will be opened for you. Because just as everyone who asks receives, the door will be opened to the one who knocks.
It worked for Peter… eventually. He had to knock an awfully long time, though. The servant who went to answer the door ran back without opening it, and tried to convince the others that Peter was there, but they couldn’t believe it because Peter was supposed to be in prison. But he kept knocking, and after a while they did open the door for him.
Jesus didn’t tell us it would take so long for the door to be opened. Why didn’t he specify how long you might have to knock, so people wouldn’t think he was wrong and give up? Because Jesus was wrong. He said so himself:
Once Jesus decides to close his own narrow door, many people who know him and are trying to enter his kingdom will not be able to. They’ll stand outside, knocking and pleading for him to open the door. But he’ll pretend he doesn’t know them, and he’ll have them thrown out.