Ok so I was late 30s when I worked in a prison . I was a civilian ( non uniform ) working in the education dept . Had a classroom of 15 ( male ) prisoners , and sometimes 1 to 1 in certain situations . A officer patrolled the department , but corridors not in classrooms ( glass fronted for security )
In my 10 years of working there I was never in a situation that could turn into flirting , touching or further . This was because my demeanour was set so they knew not to try to get into that . They would know not to go there .
The prison was for adult males 18+ , I was kind , approachable , did my job , the classroom vibe was calm , relaxing and to a degree happy .
At the start of a session 8.30am - 11.30 am I would take in a newspaper and we would debate world news etc .
You would sometimes get someone a bit bolshy , but their fellow inmates would stop any behaviour getting out of hand ( non violently obviously )
The point I'm making is that many of these women see these men as hero's , they are drawn to bad men and perhaps were looking for that , and that is why they applied for positions in the prison service .