Lock¶SETNX can be used to acquire a lock, which will only set a value if the key doesn't already exist.