You can use the Samsung Health app to set a heart rate alarm, Open Samsung Health and under settings select Heart rate alert and you can set high and low alerts.
Samsung Health heart rate alert doesn't help if you are training. Your heart rate has to stay above your maximum for 10 minutes before you get an alert. I would like to set my aerobic range for training purposes.