There are a number of great movies in which rock, and other musical genres, play an integral part in the larger social messages they are attempting to convey, and here's a list of some essential ones that do that better than most.
Suburbia has enthralled filmmakers in the visual mediums of film since the creation of the post-war nuclear family in the 1950s, serving as a setting, motif, and breeding ground for themes, critiques, and analyses of the culture it's spawned in our collective zeitgeist.