When the underlying screen changes, HostSurfer instance triggers a pageLocked event to signal the transition, reflecting the locked state of the terminal-based screen.