Search for long-lived particles at LHCb