Implements the locking strategy from Redis Labs’ book about… Redis :) https://census.dev/blog/high-school