This sentence contains one independent clause ("She went to her friend's house") and one dependent clause ("after she was told not to") introduced by the subordinating conjunction "after." A sentence with one independent and at least one dependent clause is a complex sentence.