Formal:
* The school's policy disallows the use of electronic devices during exams.
* The contract explicitly disallows any form of discrimination.
* The government has disallowed the import of certain agricultural products.
Informal:
* My parents disallow me from staying out past midnight.
* The game's rules disallow players from leaving the designated playing area.
* The restaurant disallows smoking inside the building.
Creative:
* The ancient law disallowed the use of magic within the city walls.
* The artist's unique style disallowed easy categorization.
* The silence in the room disallowed any further conversation.
Key points to remember:
* Disallow is a formal word and is generally used in a formal context.
* Disallow can be used with a noun or a verb + -ing.
* Disallow implies an explicit prohibition or restriction.
Let me know if you'd like more examples or have any other questions about using "disallow."