Device consisting of a toothed wheel and pawl that allows movement in one direction only