Safe Mode is a basic diagnostic mode for your operating system that starts the computer without most of its drivers and software.
It's not normal for a Samsung Galaxy S10 to get hot to the touch when performing processor-intensive activities. Here's how to fix it if it does.