I agree with @mdevaney - this should in no way be considered a secure way of doing something.
However, you're asking for a basic blocking pattern.
Add a variable to your app OnStart
Set(
gblBlocker,
true
)
Then add a TextInput control to allow them to enter the phrase, when required. This can toggle the variable off. Use the Boolean variable to show/hide, or enable/disable functionality.
For example, put this in the OnChange property of the TextInput.
If(
Self.Text = "passPhrase" And gblBlocker,
Set(
gblBlocker,
false
)
)
Again, and I can't stress this enough - this is not secure/recommended for anything requires actual security, but I can appreciate that you may want to block functionality until a user does something.