@Override
    public void lock() {
       if (this.bypassTraversal != null) bypassTraversal.lock();
    }
@author Marko A. Rodriguez (http://markorodriguez.com)
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/lambda/AbstractLambdaTraversal.java