The propellor torque will depend on the rotational speed, the airspeed, and the air density.
The propellor torque will always increase as the rotational speed goes up. The engine torque will only rise a little as engine speed increases from low speeds to maximum torque speed, and will then fall quite fast as engine speed increases.
Just for fun, the engine power may depend on the airspeed, as the air intake pressure may change. The engine power will reduce with air density at altitude.
Obviously, if the engine is throttled back, the torque will fall. If the engine is left on full power, the torque will change a lot when the aircraft climbs. As the aircraft climbs, it slows. With lower air speed, the propellor torque will increase for the same RPM. The engine will slow down, reducing the propellor torque and the engine torque will increase, to the point where the propellor torque is the same as the engine torque.
The faster the climb, the more the engine will slow.
I don't see how knowing the engine power will help keep the aircraft trimmed.