Selena Gomez has been writing music in lockdown and wants to keep that "feeling of inspiration" despite the current health crisis.