No, if you yell “Andy’s coming!” at Jessie, Woody or Buzz, they do not drop. They’ll probably just ignore you.
they USE to drop
Maybe once or twice in the entirety of their existence on very special occasions. It would cause physical injury and damage expensive costumes, so if it ever happened, it was very, very rarely if at all.