Sure, they could know about it. It would still be my preferred option to unlock it, and be logged in to that profile than the others.
It's not a fail-safe method. Realistically, border officer will look at your ID, travel docs and quick glance at phone perhaps.