It's not from Lego, but it looks like! It's a small abandoned castle in the middle of the forest, in Galicia, Spain
Yes, it's a church on the coast.... but when the tide goes up it's a church in an island!. And no way that you can go there with the normal waves of the Atlantic ocean.
This is a modern and kind of different lighthouse, right? It's really weird but it's nice to see it all surrounded with these lovely yellow flowers.