Programs for locking and unlocking files and mailboxes