focus_lock out of the if not None