locking some files