I am squatting on a dock, looking into a lake.
I am near a lake.
"Looking into a lake" implies they are near a lake.
Docks are always near bodies of water, and Sentence 1 implies that the dock is near a lake.
One should be near the lake to look into it.