Configurable lock_id, SecureRandom