(#3528), cleaer DebugIsLocked when lock file is released in dprintf.
===VersionHistory:Pending===