https://en.wikipedia.org/wiki/GaladrielQuote:
Conscious of Sauron's power and wishing to thwart it, she did not use her Ring so long as the One Ring was in Sauron's hands. However, during the Third Age, when the One Ring was lost, she put hers to use in making Lothlórien a fair refuge for the Nandor.