If you select 'File | Log Out' of LocalMain, it log out without dialogue box.
In case of logging out, all permissions disappear, and LocalMain is set as basic used colors.
In this condition, many functions can't be used and thus you can prevent misuse from a fresh hand.
If you log in as specific user after logging out, LocalMain settings is re-arranged according to setting for user.
Also, log out can be done by script as follows.
Reference) In case of logging out, user name is designated as _PUBLIC_.
Relate items)