Yes I did have this conversation actually in Year 5 when she was walking 1.2miles to school alone every day.
And then again in y7 when she started taking buses and trains alone.
I broke it up in chunks - so it started with making sure she knew her route, and where to wait on the platform or at the bus stop. Check she can tell you why it is important to stick to a route you know and follows well-trafficked roads or paths.
Being aware and not glued to her phone that she didn’t know what was happening around her. Keeping her purse out of sight. How to deal with strangers talking to you. Trying to travel with friends or at least staying near a pack of people, not alone.
Added to that I’d test her on what she’d do in certain situations - if her friend suggested walking a different route which left her somewhere unexpected on her own (we have a lot of quiet paths near us) what would she do?
If she thinks someone is following her, what would she do?
If a man or adolescent boy starts walking beside her or is talking inappropriately, what does she do?
My dd started self-defence and martial arts training at age 8 because I wanted her to know how to defend herself; how to make a lot of noise and the RIGHT noise to get attention (screaming kids are often ignored); the importance of running away not standing to fight. So I don’t need to remind her that she will never be able to overpower a man/ big teenage lad.
She’s 15 now and I think, with 8 years of martial arts and self-defence training, if some sleazy bastard tried it on, she would at least do some proper damage and might even be able to disarm him of a knife with a bit of luck.
I truly wish every parent in the land taught their girls self defence, it has done immense good to my very petite size 4 dd!