I seem to remember hearing once that a would-be convert has to be turned away something like four times, but that when they return the fifth time, the rabbi begins instructing them.
Yes, there are variations of that. Generally, it’s 3 times.
There was a very funny Simpsons episode where Homer converted. They followed Halakha pretty precisely, down to the Rabbi turning Homer away 3 times.