Connect the phone via USB to a PC or laptop ans select File transfer mode. Copy DCIM, documents, downloads, music and SmartSwitch folder (if using Samsung Switch).You can also use the Samsung Smart Switch Windows app to backup the phone to the laptop...
I understand. Before you hand the device for repair, make a full backup of the data to your PC/laptop and erase all the data. This way, you don't have to be worried about data theft.