With Traktor Pro 3, is it possible to lock the deck that is playing so that you can't accidentally load another song?
Yes.
Older Traktor version part 2.
https://www.digitaldjtips.com/10-hidden-traktor-gems-for-better-djing/
I'm adding the picture of the settings menu on the latest Traktor version.