How to force a factory reset or hard reset on Samsung devices

Samsung Galaxy Core 2 Duos Samsung Galaxy Core 2 Duos
Samsung Galaxy A12 Samsung Galaxy A12
Samsung Galaxy M31s Samsung Galaxy M31s
Samsung Galaxy M21s Samsung Galaxy M21s
Samsung Galaxy M31 Prime Samsung Galaxy M31 Prime
Samsung Galaxy F41 Samsung Galaxy F41
Samsung Galaxy Tab Active3 Samsung Galaxy Tab Active3
Samsung Galaxy S20 FE 5G Samsung Galaxy S20 FE 5G
Samsung Galaxy S20 FE Samsung Galaxy S20 FE
Samsung Galaxy Tab A7 10.4 (2020) Samsung Galaxy Tab A7 10.4 (2020)
Samsung Galaxy A42 5G Samsung Galaxy A42 5G
Samsung Galaxy A51 5G UW Samsung Galaxy A51 5G UW
Samsung Galaxy Z Fold2 5G Samsung Galaxy Z Fold2 5G
Samsung Galaxy Note20 Ultra 5G Samsung Galaxy Note20 Ultra 5G
Samsung Galaxy Note20 Ultra Samsung Galaxy Note20 Ultra
Samsung Galaxy Note20 5G Samsung Galaxy Note20 5G
Samsung Galaxy Note20 Samsung Galaxy Note20
Samsung Galaxy Tab S7+ Samsung Galaxy Tab S7+
Samsung Galaxy Tab S7 Samsung Galaxy Tab S7
Samsung Galaxy A71 5G UW Samsung Galaxy A71 5G UW