In Magisk, tap and choose your boot.img . Magisk will create a new file, usually called magisk_patched.img .
If you cannot find the stock ROM, you can dump it via: how to root lenovo tb8505f top