I'm building an outdoor chest out of wood (frame) and PVC sheet (sides), it is approx 2 1/2 ft wide, 1 1/2 ft deep, 1 ft high. The box opens from the top like a toy chest, blanket trunk, etc. I need a lock for the top (lid). I'd like the lid and associated lock to be appropriate for exterior conditions (e.g., rain), not require a key (a combination lock, ideally digital or some form of keyless entry), and lock when the lid is closed (i.e., not require the user to actually lock the chest, it is locked whenever the top is closed). All of these characteristics are very important, especially that the lock engages whenever the lid is closed and requires no additional actions by the user. I've been looking at a few options but none of them quite meet my needs. Cam locks and mortise chest locks are either for interior use or require the lock to be engaged (rather than locking as soon as the lid is closed). Rarely do I see a lock that is not keyed. Can anyone assist?
Maybe look for some hardware for truck boxes? They typically have the 'shut and go' feature, are rainproof, and lockable or not...
Pretend the horizontal cover is a door and install a door handle/lock.
There are battery-operated door handle locks with coded entry access. They can be set to lock on closure and open with a code. Some even have a remote control.
Water resistant? Find one made for outside use.
If you can't find a water-resistant model, you could install a hinged plexi box (or a hinged upside-down tupperware container) with a shallow gutter for drainage & inner-space air circulation.