I think the cylinder would hold them also. If the valve is centered, the hydraulic circuit is closed like a toplink, loader, or a swivel rear blade/rake positioning cylinder.
There could be some creep over time depending upon the seals in the cylinder or control valve but I wouldn’t expect a lot if any on a system in decent shape.
Great project! This is one on my back burner I want to do.