What is the meaning of Lay_to?

To turn towards the wind so that the boat stops; to remain stationary in open water or to lie to.

To try or to expend effort to achieve (something).

Source: wiktionary.org