General meaning:
* The teacher was strict about homework deadlines.
* My parents have strict rules about screen time.
* The company has a strict dress code.
Meaning "precise" or "exact":
* The measurements must be strict to ensure the project's success.
* The instructions were strict, leaving no room for interpretation.
* She followed a strict diet for a month.
Meaning "severe" or "harsh":
* The judge handed down a strict sentence for the crime.
* The laws in this country are strict and unforgiving.
* The company's strict policies caused employee dissatisfaction.
In a figurative sense:
* He kept a strict control over his emotions.
* The doctor advised a strict bed rest for the patient.
You can adjust the sentence to fit your specific context.