Create LockObject.java