Mechanical locks for tapes and belts