Not sure. At one time there was some ability to use a locked T-Mo (US) phone with non-US T-Mo SIMs but the last I heard of that was some years back.
The phone needs to be unlocked to use with a Tmobile Poland sim.
If you have a Tmobile USA plan check to make sure what the rates are before using it.
Manage your T-Mobile account