Think along the lines of a DOOR catch - the type that (if you look closely) has one edge flat and the other 'curved' (to allow the door catch to close).
Add a solenoid to a catch of this type and, using a ONE-SHOT (monostable) circuit, the solenoid will pull for the 'period of the one-shot' and...