A bolt can mean a metal bar that slides into a socket to lock a door or gate. This is the primary meaning in the context of door security. The other options define different things: A means to make unnecessary (obviate), B describes an epaulet, and D refers to an animal changing habitat.