Locking toolkit for a variety of data stores.