Yes, cricket is called the game of uncertainty and in cricket, it is not possible to say which team will actually win with one over remaining. I still remember the final of the T20 World Cup between England and West Indies where West Indies probably needed 22 runs in the last over to win but a West Indies cricketer hit four consecutive sixes in the last over of England to ensure West Indies' victory even though England had the possibility of winning the entire match.......
Yeah, luck works always in every situation, and it will give you what is best for you. In cricket, luck is the most important factor that can change the whole situation. A person can sit all day long and analyze the stats of the team and give his prediction, but when the match starts, luck can change the whole prediction. One big hit can flip the condition, just like you said in the West Indies match, four sixes changed it. It may work some times and sometimes not, but it exists, and no one can say no to it.
It is correct that luck always works whether that is for good of a man or bad. But we always want good luck not a bad one. In this case when we face bad luck we think we are in bad situation and it is bad for us but who knows when the luck will be changed.