Locum vs Salaried vs Partner - Money

When GP's qualify, they have a possible decision to make. Do I try find a salaried post or do I locum (work ad hoc)? Nowadays with Covid19, a lot of GP work has shriveled up and there is a shortage of locum and salaried jobs, with news that some have had to go on benefits ... however in this discussion I'll be assuming a pre-covid time when locum jobs were abundant and there was a shortage of GPs. I'll be mainly looking at these roles from a financial stand point in a GP surgery, there are numerous other pros and cons to these roles which are outside the scope of just the money however.