MANY locker rooms provide snacks as a courtesy. Items such as pretzels, peanuts and candy are common. What should not be common, however, is for more than one person to actually touch the product. A simple way to avoid this unhealthy practice is to use snack dispensers.
PUSH type or crank type are available as are automatic touchless dispensers. Although I have not tried touchless dispensers in person to know how well they work, it is something worth considering and looking into.
SO is keeping the snacks free from germs.