Hi,
I'm sorry but as I know Huawei P40 is provided without Google apps, so you can't simply install LocusGIS from Google Play on this device.
Well, check any tutorial available on internet but I can't confirm if it works - https://www.youtube.com/watch?v=pXotMm47K2E&ab_channel=SwagSell
Gábor Zvara