You can record a phone call on your iPhone using third-party apps — but currently, there's no built-in way to record a call.
While difficult, it's possible to record phone calls on your Samsung Galaxy S10. You may have to record a call with a second device or an app.