latch

noun

1.
spring-loaded doorlock that can only be opened from the outside with a key
Derived from:
latch
2.
catch for fastening a door or gate; a bar that can be lowered or slid into a groove
Derived from:
latch