Episode 271 is The Hardy Boys/Nancy Drew Mysteries (1977)
"The Mystery of Pirate's Cove"
Nancy suspects something is amiss when an abandoned lighthouse mysteriously activates.