Types for safe locking | Synapse