"To prevent passengers leaning out of the opening windows, they were partially blocked with three bars — this was for passenger safety when travelling through areas with limited clearance, in particular Hampstead Tunnel. This earned them the nickname "jail units". "
https://en.wikipedia.org/wiki/British_Rail_Class_501