Cargo lift with guardrails, magnetic locks