Implements a LockFactory that provides locks scoped to a single JVM.
Return a new obtained Lock instance identified by lockName.