def freeze(self):
        self.frozen = True
Tries to acquire a lock on the specific resources instance,
dataset/ETHPy150Open scrapy/scrapy/scrapy/settings/__init__.py/BaseSettings.freeze--crossover with--dataset/ETHPy150Open viewfinderco/viewfinder/backend/db/lock.py/Lock.TryAcquire