Is there a contradiction between what Socrates says in Plato's Crito and what he says in Plato's Apology?
The ideas put forward by the Socratic character in Plato's Crito and Plato's Apology are fairly consistent, in part because the implied audience of Apology and Crito are both more concerned with conventional ethics than with the sort of philosophical issues with which Plato has Socrates engage in the Phaedo. It should also be noted that the Xenophonic Apology has a Socrates who is more actively suicidal than the Platonic one.
In both Platonic works, Socrates justifies his accepting the sentence of death by arguing that death is not an evil for a philosopher, especially of his age. In Crito, he significantly adds the new argument personifying the laws of Athens, but this supprots rather than weakens his decision.