composition and the lock