with coupling heads rigidly connected by locks consisting of pivoted latches