There is a great hack that makes caramelizing onions a breeze and cuts down the cooking time significantly. The secret would be adding a small amount of water* at the beginning of the caramelization process. Not only does it reduce the overall cooking time, but it also ensures that the onions caramelize evenly without the risk of burning.
*https://www.youtube.com/watch?v=rzL07v6w8AA