I don't know how I locked "view offset", but how do I unlock it?
Check the "view" panel in the properties shelf of the 3D viewport. This error message can be caused if the user attempts to move the 3D viewport when there is an entry in the "Lock to Object" text box.