Try a database password. Of course, anyone can go to
Access PassView v 1.12[
^] and use that utility to "discover" the password you set.
The better way would be to encrypt the database when you're not using it and then decrypt it when you need to. See
A simple MFC class to encrypt data with the Crypto API[
^]
Personally, I don't know a way to keep an access file locked when not in use. That doesn't mean there isn't a way, but I would look into encryption or a simple password.