A lock is designed so that only a particular key will open it.