Function lock_by_id

Source
pub fn lock_by_id(user_id: u64) -> Result<ResourceLock>