use new lockfile() function in locale test
1.01 - changes