Here exactly the same on my Samsung TAB S7+. A few strokes and then it stops writing with my stylus or finger. I don't have this problem on my Samsung S21 ultra. There the stylus works.
I also recorded what I was doing and send it to the supportdesk. No solution yet. Very uncomfortable because I use my tablet for writing all the time.