pub fn ErrorLocked<T>(err: T) -> Error where T: Debug + Display + 'static,
Helper function that wraps any error and generates a LOCKED response.
LOCKED