Lock trapped chests with a trial key renamed in an anvil. Can't be opened, can't be broken, can't be drained by a hopper. Server-side, no client mod.