I noticed that the screw-on of my water tap often loosens itself up after I rotate the tap left and right enough times. Every time I rotate the tap left, it loosens the screw a bit, then if I rotate the tap right, the screw does not tighten itself to the same amount.
This, repeated enough times, loosens the screw enough so that the tap would leak.
I thought it might be solved if the screw would have a wavy thread. So, for example, instead of gently sloping downwards by 1 mm every revolution, it would slope up 1 mm for the first half, and down 2 mm for the second half. This way, the screw would lock itself in a local "peak" in the thread, and not loosen itself no matter if I rotate the tap left or right.
Is there such a kind of screw? If so, what are they used for? If not, is it because they have some kind of mechanical weakness?