YOU SAID:
My grandma's house was at the sea
INTO JAPANESE
おばあちゃんの家は海にあった
BACK INTO ENGLISH
grandma's house was in the sea
INTO JAPANESE
おばあちゃんの家は海の中にあった
BACK INTO ENGLISH
grandma's house was in the sea
That didn't even make that much sense in English.