public static Lock newLock(String name){
  return factory.newLock(name);
}

public static Lock newLock ( String name ) { return factory . newLock ( name ) ; }
create a new lock instance using the appropriate vm - specific concrete lock sub - class .
