*: lock the in using files; do not purge locked the wal files

the first handler will be used by a readerCloser, which will close the file after finishing reading it.
but finishing reading it does not mean we should unlock it.