Sure I can! The textbook definition of variable scope is "variables only exist in the code block they were created in". and by code block, that's anything in between { curly braces }.
so, like this:
int main() {
if(true) {
string kid = "Billy"; // this only exists in the if statement's code block
}
cout << kid; // this throws an error because the variable "kid" does not exist here.