Make default code locking contiguous

Lock ‘del’ command too.