Locks {or fastenings} with special structural characteristics with arrangements independent of the locking mechanism for retaining the bolt {or latch} in the retracted position released automatically when the wing is closed