Unlocks a view.
This method throws an exception if the current user is not one of the lock holders and does not have lock breaking authority.
database.setDesignLockingEnabled(true);
var v:NotesView = database.getView("main");
try {
v.unlock();
requestScope.status = v.getName() + " unlocked";
} catch(e) {
requestScope.status = v.getName() + " not unlocked";
}
database.setDesignLockingEnabled(false);