MJ, a shutdown timer in the DB will work but you have to watch out for the case of a user with an open form that is dirty when they walk away AND you have confirmation software in place with an "Are You Sure" type of question. Because if the form is dirty and requires user confirmation, that puppy is LOCKED. EVERY FORM needs to test for a forced shutdown on a timer. In the most recent case where this was possible for me, I put an automatic Me.Undo followed by a DoCmd Close for the form. When the main form's timer detected that all forms had been closed, it was allowed to shut itself down.
If you ever find a user doing this trick of leaving a dirty form open all day, I strongly recommend summary execution by immersing the person in hungry nematodes in an inescapable container. Or just make them watch the move "Night of the Nematodes" - which can be described as "Not an A movie. Not a B movie. WAY below a C movie. I think we have to stop at Z movie 'cause nothing is lower."
As to the other question: Since databases HAVE to be opened in shared mode to allow sharing (well, duh!), Mark's lock is still there and so is everyone else's lock. And the DB doesn't have 10 lock files. It has 10 records in one lock file.
The lock file (.LDB) is always owned by the person who first opened it - because that person created it. But the folder's permissions allow ALL who have the appropriate rights to have MODIFY-level access. This includes Create File, Delete File, Read File, Update File, and a smattering of other detailed permissions. So it DOESN'T MATTER who created it. EVERYONE legitimately in there has Read, Write, Delete permissions automatically (if they can use it at all).
The way file locking works is that the File System libraries automatically look up the device's locks list. This list involves structures in the file's host's scratchpad memory. A file lock can be Exclusive Read/Write, or it can be Exclusive Write, Shared Read, or other combinations all the way down to "wide open with no protection."
The lowest level of lock is an "interest" lock that is used to notify the file owner. It is theoretically possible to write lock handler code so that if your program tries to get to a file, the file's current owner (holding the "interest" lock) can say YES or NO to your request. The presence of that "interest" lock is the mechanism that causes a program TRAP and the file owner's trap code can therefore be the "guard dog" for that file. But in the most common case, this extreme measure is NOT implemented.
The theory is that the host for that file is running the file system that must pass that file across the net, so the lock management on a network with file-sharing enabled is said to be "distributed." With the distribution based on the popularity and location of the files enabled for sharing, this is "Distributed Lock Management."