check if folder is locked (busy), for issue #14