pulse sensor and ISR stops the rest of my code

The whole story requires exclusive access as well.

Gibberish. Instead of trying to argue with me, and making no sense at all to a beginner, I suggest that you post a clear beginner level tutorial on how to do this properly.

Bye now.