Origin of the idiom keep at bay?
This is not really an idiom. Baying is a continuous barking by hounds. To keep something at bay means to prevent its escape by surrounding it with barking dogs, or by extension, to prevent a problem from getting out of control by maintaining constant vigilance.
during class i got assigned "call you to the carpet" as an idiom. my teachers idiom book says it s origin is that in a royal kingdom they didn't put carpet in the servants' rooms because it was too expensive, so when they called them to discus something they were calling them to the carpet because the royalty had carpeted floors