I think this is a really awkward post... I would never think about doing that to my chickens but I could see someone's reason behind it. There's got to be a better way.
She didnt say she was going to use a shock collar...she said she was thinking of the kind that put off the ultrasonic wave that humans cannot hear. but I wouldnt try either. Maybe you can try to get them some more nexting boxes or keep them in the coop until they are done laying.