Hello
same for my S23, as many many other users.
I had the misfortune to connect it to the charger when it was not turned on. I then plugged the charger into the mains and the problem appeared. There is a design error in the detection circuit (bad transients filtering?), and certainly in the software (impossible to return to normal condition).
Samsung listen to me,
I will never buy a Samsung again. And I will advise all my acquaintances not to buy a samsung.
At least Samsung should be able to allow us to bypass this pathetic protection.
I hope that one day there will be a class action against Samsung on this topic.