How to bypass Factory Reset Protection in Galaxy S8, other issues

How to fix Samsung Galaxy Note 8 that keeps restarting by itself (easy steps)