The lock file is automatically generated by Access.

Try Tools->Options|Advanced.