Rest your hammer between the nipples or down on an empty chamber.... Be carful when hikeing and us a retention sytem to prevent accidental cocking of the hammer from brush etc,
How do you keep if from going off in the cabinet/safe

. Seriously?..Well don't touch it!! it's not like it is going to cock and fire it's self.... and as long as you have the hammer down on an empty chamber it won't matter if it falls or is dropped.
Don't kram crisco etc in the nipples...I leave mine capped with firmly seated caps so that there is a good moisture seal for my charges.