Add support for Redis lock