Performing lateral arm raises (with dumbbells, kettle bells, resistance bands or machines) is the best way to isolate the deltoids.
However, many shoulder movements/exercises involve mutliple muscles, including the deltoids. Baseball players exercise their deltoids very intentionally.