Getting data store lock.