You’ll still be able to enjoy the trial if you cancel.
All subscription service works like this..
Eg. Netflix, prime etc..
Even subscription services which are based on App Store have to honour their trial.
Not all subscription services work like that. Apple clearly state there’s doesn’t.