@Danilo Herrera
1) Why did you use MutableCollection? Do you really need mutability?
2) As user of your function I would prefer receiving LotteryResult(...) from pickLottery function, not String.
3) I will add configurable seed for random for future testing
4) Are extension functions really needed? I would prefer e. g. private fun takeRandom(set, count): LotteryState -> LotteryState(setWithoutPicked, pickedNumbers)
5) mayble your functions should be inside class Lottery and only pickLottery should be public?