Make the TTL configurable; add documentation for what BasicLock actually does