The main interface is {@link threaddemo.locking.Lock} and lock instances may be created with the {@link threaddemo.locking.Locks} factory class.
Intended as a replacement for {@link org.openide.util.Mutex}.