Lydia liked her new house, but she didn't like the front yard.
Here are some more examples of compound sentences.
He doesn't like to get his teeth cleaned, but he knows that it's necessary.
He went to prison, for he had killed someone.
"For" is very similar to "because" and "since." This is a difficult conjunction to use. It sounds very formal.