The role of spin–orbit coupling in topologically protected interface states in Dirac materials