I followed this guy till the end.
Everything worked fine.
At the last part, when I flashed Magisk (Same version as in the video description), the phone started rebooting again and again. Legend says its still rebooting till date.
I can open TWRP, not sure what I have to do next to fix this.
I got a samsung a10, same as in the video.