No it doesn't. There's nothing in the constitution that grants immunity to a president and no reason why Donald Trump had to commit the crimes he's charged with.
In reality it is an imperfect document that can never possibly be complete.
The president already has all the constitutional protection he needs from prosecution: a prosecutor can't remove him from office.