DO NOT USE A BARBELL FOR SHOULDER RAISE. the shoulder is super vulnerable to injuries and anything that limits its flexibility and normal direction of the range of motion can cause problems in that region.
although the front delt gets trained when doing the majority of chest exercises, we still need to include them in our training routine to make sure we are having progress. any shoulder exercise requires caution and the risk of injury is massive if done in the bad form repeatedly.
make sure you push your chest forward(thoracic extension) to keep the shoulder healthy and have a better range of motion but do not overdo it as well. control the weight during the repetitions and do not go through extreme ranges of motion.
make sure the elbow is slightly bent but do not bend it too much as well since it is going to be too much biceps work.