a lock is part of a door