Between 1850-1914, different groups of people resisted being colonized. The results were mixed regarding their success.
The people of the Philippines were very unhappy with the Spanish rule. When the Spanish were defeated in the Spanish-American War, the people of the Philippines thought they might get their independence. They weren’t pleased when the United States came to the Philippines and began to rule them. The people revolted, but the revolt was unsuccessful. The people of Philippines didn’t get their independence until 1946.
The people of the Balkans weren’t pleased they were being ruled by people who were of a different nationality than they were. This dissatisfaction led to the development of a plot to kill the next King of the Austro-Hungarian Empire, Franz Ferdinand. It was his assassination by a group of Serbian nationals that led to the start of World War I. At the end of World War I, many new countries were created based on the concept of self-determination, meaning people would be ruled by their own ethnic group. This led to the breakup of the Austro-Hungarian, German, and Ottoman Empires.
The people of Alsace and Lorraine weren’t pleased they had been taken over by Germany in 1871. They didn’t support German rule, and when World War I ended, these provinces were returned to France.
The people of Latin America were not pleased with American involvement in their countries. While these countries remained independent, the Americans intervened many times, often to protect American investments and to keep pro-American governments in power. These countries resented our constant interference in their affairs. This resentment still exists to some degree today.
The Cubans weren't happy with the rule of the Spanish. The Spanish treated the Cubans poorly. The Cubans revolted, and with help from the United States, they got their independence. While there were some strings attached to Cuban independence by the Platt Amendment, which gave the United States the right to intervene in Cuba, Cuba did gets its independence from Spain. The Cubans weren't thrilled with Platt Amendment, but they accept it to get the United States military to leave Cuba.
There were varying degrees of success for countries trying to free themselves from colonial rule or from foreign intervention between 1850-1914.