lanes.genlock() improvements and fix

   * Fixed function returned by lanes.genlock() not handling numeric keys properly when release lock
   * Enable lanes.genlock() to attempt lock with an optional "try" mode