A harvester or combine includes a folding corn head with a center section and folding wing sections. A folding row separator cover at the hinge location of the folding head sections folds to an angled position so that the folding action between the wings and the center section is not impaired. A single assembly actuates the folding of the row separator as well as locking and unlocking of the wing sections relative to the center frame section. A hydraulic cylinder actuates a main link that connects to the row separator cover and also to a lock pin. Actuation of the hydraulic cylinder pulls the extended end of the main link rearward and upward to raise the cover. The same motion also pulls the locking pin forward from engagement. Retraction of the hydraulic cylinder rod lowers the extended end of the frame of the main link and pulls the cover downward while also moving the lower portion of the main link rearward to engage the locking pin with the frame.