Problem: Crash when deleting terminal buffer and TermClose switches back to the terminal buffer. Solution: Set b_locked_split. Co-authored-by: Sean Dewar <6256228+seandewar@users.noreply.github.com>