Quoting from IRCC
If you’re an international student who has a valid study permit, or
were approved for a study permit on or before March 18, 2020, you’re
exempt from the travel restrictions.
They also mention that:
When you arrive in Canada, we’ll assess your health before you leave
the port of entry. You must have a plan to quarantine for 14 ...