Function lock

pub(crate) fn lock<'a>() -> BacktraceLock<'a>