There are usually two kinds of passwords that can be used to lock a PDF, namely an open password and a permission password. The open password is to limit the opening and viewing of the document while the permission password is to restrict printing, annotating, copying, and editing.