The new helper treats any existing lock path as the directory; the old constructor refused a non-directory. Controls: an existing parent and an existing lock directory keep their modes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>