In the story, Rama goes chasing a golden deer (which is actually the rakshasa Maricha in disguise), and does not return for a long time.
Once Lakshmana leaves in search of Rama, the rakshasa king, Ravana, arrives on the site in the form of a mendicant, and asks Sita for alms.
However, in the Lanka Kanda of the Ramcharitmanas, (35.1) Ravana's wife Mandodari rebukes him on his boisterous claims of valour by hinting that his claims of strength and valour are shallow, for he could not even cross a small line drawn by Rama's younger brother, Lakshmana.
In local tradition, the line is believed to have been drawn at Panchavati, in the forest of Dandakaranya, which is now part of the city of Nashik in Maharashtra.
Lakshmana Rekha, in modern Indian parlance, refers to a strict convention or a rule, never to be broken.