locking version of settings gem