NumPy

numpy.random.BitGenerator.lock

attribute

BitGenerator.lock