kusor/node-workflow#98: Implement job.lock
Fixes kusor/node-workflow#100: Do not use finished jobs for target validation