Code to unlock documents with one button

Hi Dev Experts,

I need help , i need code so that i can add a button on mailboxes which will unlock all documents in that mailbox which are locked.

If someone can help me with this, I will really appreciate it, I dont have any coding experience.

Cheers

Avi