Ofcom is set to enforce a ban on "nasty surprise" mid-contract telecoms price rises from Friday (January 17), the regulator and watchdog has said.