How to lock the database

plz help us

Subject: how to lock the database

pls. provide more information about your problem. what do you want to do with the database? lock as in not allow anybody to access it? remove all ACL entries. leave Manager access for the server or the administrator.

what else do you mean by lock?

Subject: RE: how to lock the database

Locks permit you to synchronize multi-user access to documents and the following design elements: agents, forms, and views.To permitt Locking :

Locking must be enabled. You can set and check locking through:

NotesDatabase.IsDocumentLockingEnabled.

NotesDatabase.IsDesignLockingEnabled.