locking: Use the .class as the lock