I originally came across this from an Ad, but the walkthrough of multi(hidden) lock & multi key functionality example of a safe witgwith potentially trapped non-keyed elements once the locks themselves are handled made it into something that could theoretically exist in most d&d/PF/etc settings,