Journalist unions have created a set of guidelines that attempt to balance freedom to report with the need to protect the public. (For something more specific: when you report someone has died in a public place do not give detail information about where they died. If they jumped off a particular bridge do not name the bridge. (We have a little bit of research from survivors about how they pick locations and some of them say they're influenced by news reporting)).
On your wider point, all our broadcasters are aware of "imitative acts" and so they're very careful when showing children doing violent or dangerous things. Our advertising regulator will also ban some ads that show these things. There was an example from some time ago of a soft drink called "Tango". https://en.wikipedia.org/wiki/Orange_Man_(advertisement)
> Nonetheless, Orange Man soon sparked large controversy in the media and in public after it was discovered children had copied the events of the advertisement in playgrounds and injured themselves; Rupert Howell, a Tango advertisement executive, stated in 2000 that Orange Man "sparked a playground craze" where "people used to go round sort of slapping each other and saying 'You've Been Tango'd', and it was all very entertaining and great fun. There were no problems until we got a phone call once from a surgeon who said 'look, I'm not the complaining type but I thought you'd like to know that I did an operation on a child this morning with a damaged ear drum, and I was wheeling him in to the operating table, and said to him 'what happened to you then?' and replied 'I got Tango'd.'"[6] As a result, Howell pulled the advertisement from television that afternoon,[6] although other reports erroneously state that the advertisement was banned