You can unlock my name with a key.
A tree swing is my favorite toy,
Yet I'm neither little girl or boy.
I am no coin with my head and tail,
Yet I may spend time in a bar-locked jail.
I cannot speak or read or fly,
But I'll ask you this: What am I?
If you really want my identity,