Added a database example to locks file