aix: implement user lock/unlock and fix tests
aix: remove accidental swp file commit.