nokeymessage

“nokeymessage” is a string attribute, used with locked containers. It is printed when the player attempts to lock or unlock the object, but don’t have the object specified by the key attribute in their inventory. If not specified, the NoKey template is used.