Means for locking the record carriers