I have a house chicken. Frack comes and goes as she pleases. She has actually housebroken herself. When she wants to go outside, she just goes to the front door and starts cackling or she will peck on the door to get our attention. When she was just about a year old, a rooster tore her up pretty bad, and we let her recuperate in a dog crate in the kitchen. When she started coming out of the crate, I would let her out into the front yard for a while and then she would come and peck on the door to be let back in. She is over 5 years old now, so has been a house chicken for about 4-ish years. She went broody a couple of years back and actually hatched 5 eggs and would march her chicks out of the kitchen, across the living room, and to the front door to be let out (no, they were not housebroken). Frack used to lay her egg every day upstairs in our bed, until she came tunbling down the stairs one time. Now she has her own "bed" in the front room where she lays her eggs and sleeps at night.
We have had other chickens since then that will come in and visit for a while, but none like Frack.