원칙 means "an accepted or professed rule of action or conduct"
원리 means "a fundamental, primary, or general law or truth from which others are derived"
원리 is more abstract and fundamental concept than 원칙
Someone can follow 원칙 or not as one likes.
Someone cannot deny 원리.
원칙을 지켜라(O)
원리를 지켜라(X)