Unlocked Payruns can be deleted within the Payslips page.
Navigate to Menu > Payroll > click the Payslip button for the applicable payslip.
Within the Payslip, click Bulk Action > Delete Payrun.
In the Delete Payrun page, confirm the deletion by entering your password and clicking the I Agree button to permanently delete the payrun.