Is there any possibility you still have any sort of lock, (even screen lock or PIN) or account, especially Google account, still exists within the phone?
In general you must remove all traces of ownership, especially by a third (or fourth) party before you Factory Reset.
Can you be sure you are doing exactly as required for “a Samsung first boot into TWRP”