add GUI.lock_defualt method, improving tab_lock