Lemony Snicket's A Series of Unfortunate Events(2004)
Based on the first three books by children's author Lemony Snicket. Three wealthy children, the Bauldaire children, have just learned that their parents have been killed in a fire which destroys their mansion. The children get adopted by an evil character named Count Olaf, who is determined to take the kids in just to kill them and inherit their fortune. When he finds out that the kids have learned of his intentions, he stops treating them nicely and decides to lock them up before killing them. The children keep breaking out of the count's evil rule and moving into different foster homes but it seems the Count is ahead of them at every step.