Optional lock tracking and stats via the API