v0.0.18: Set locked_by to catch race conditions

closes #9