Scope is the part of a sentence whose meaning a word or expression affects. In Not all the doors were locked, not denies that every door was locked. It does not say that every door was unlocked.

How to recognize it
Find the word whose effect you are checking, such as not, only, or every. Then paraphrase the sentence more explicitly. If two reasonable paraphrases lead to different conclusions, the original may have a scope ambiguity.
Examples explained
Negation and quantity
Not all the printers are online.
Why it works: This denies that every printer is online. At least one is offline, but the sentence does not tell us how many.
The focus of only
Only Lena called Ravi. / Lena called only Ravi.
Why it works: The first limits who called Ravi: no one but Lena. The second limits whom Lena called: no one but Ravi.
Two quantity words
Every volunteer signed a form.
Why it works: They may all have signed the same form, or each person may have signed a different form. Each volunteer signed their own form makes the second reading explicit.
Common mix-up
Scope is not always just the word that comes next. She didn’t leave because it was cold can mean she stayed because it was cold, or she left but for another reason. When it matters, write She stayed because it was cold or She left, but not because it was cold.
Explore more detail and examples
In speech, stress can signal the intended focus: I only lent it to RAE points to the person, while I only LENT it to Rae can contrast lending with giving. In writing, where that stress is not heard, move only closer to its focus when possible or spell out the contrast.
Quick check
Does Not all the forms were signed mean that none of the forms were signed?
Reveal the answer and explanation
No. It means at least one form was unsigned. If you mean there were zero signatures, write None of the forms were signed.