small standalone tool to try and lock a file using FileChannel.tryLock()