A capsule lock is a type of lock used in vehicles and capsule hatches to secure the door, ensuring the safety of the crew by preventing accidental egress or egress during flight. The lock can be either manually operated or automated, depending on the system's design. The primary purpose of a capsule lock is to maintain a safe environment for the crew by preventing unexpected entry or exit during flight. These locks are designed to withstand extreme temperatures and other environmental factors that may be encountered during missions. Some capsule locks require a combination of mechanical and electronic systems to function securely.