This is a policy in the school system stating children cannot go to school if they have live head lice or even nits in their hair.
Most schoold have a No Nit Policy. Once your child is free of nits and live head lice, they can go back to school.
It is fine if the product leaks out of the cap. Just make sure that all the hair strands are completely saturated.