Thats kind of a wonkey example to use of course how you are meaning it the shepherd is in control. He's God. But the example is flawed also cause if I have a pet sheep and call its name the silly thing might ignore me. Ever have a dog not listen let alone a cat haha.
John 10 verses 27-28 My sheep hear My voice, I know them and they follow Me. I give them eternal life, and they will never perish. No one can snatch them out of My hand.