Add PDF locking/unlocing support