An example is selecting the winner of an election by drawing a name from a hat, said to be turning the process into a "chook raffle".
An instance is choosing an election winner by picking a name from a hat, likened to conducting a "chock raffle".