In worm gears a screw with parallel helical teeth mates with a modified tooth profiled helical gear. The worm is always the driving gear. This gear style will self-lock if power is lost to the drive (worm). It doesn't work if the pinion is powered. This is why worm gears are used in elevators.