Added redis lock to settings