The OnUnlock event is fired when a Player Character tries to unlock a container, or door.
Create a magazine from articles on NWNWiki!