unlock
To undo a lock, or to make something available, usable or understood that was shut away.
Tell
a lock undone, by key, code or effort
Best when
You need the general word for opening a lock or for freeing access to something, and you do not need to say how.
Example
“She unlocked the drawer and took out the files.”