Install TWRP Recovery on OnePlus 7/7 Pro and Root it using Magisk

How to Install TWRP and Root OnePlus 7/OnePlus 7 Pro