Changed Lock to implement lock pattern guideline per http://redis.io/commands/set