Simple locking via a tab global, since I can't figure out viml first class functions.