For those who do not know the ruling from Lochner V New York served to deny child labor laws, work safety regulations, compensation protections, work hours, and maternity leave and protections under the argument that the due process clause protected a persons "liberty to contract" and thereby assume all the work conditions as is without any recourse to government protections. The main argument in support of lochner was that we are not hurting anyone since the people are choosing to engage in the activity of their own free will.
https://en.wikipedia.org/wiki/Lochner_v._New_York
https://en.wikipedia.org/wiki/Lochner_v._New_York