Nothing will happen....no one in this world can cancel the licence of Samsung.....you just exchange on Flipkart or Amazon and get yourself a new mobile.
see i tried everything with my M21 but yesterday someone told me to downgrade it to Android 10 and just now i have installed 10 on it. fingers crossed for that stupid and irritating restarting problem.