Anything that binds and makes fast, as a lock, catch, bolt, bar, buckle, etc.
Shades of meaning
Fernald has no entry of its own for fastening; he lists it under lock.
Where he writes about it:
A latch or catch is an accessible fastening designed to be easily movable, and simply to secure against accidental opening of the door, cover, etc. — from lock