use key existence instead of value to indicate locking