Not a general solution, but because it's eminently useful to be able to do this sort of thing:
When I was up in the forest earlier and stopped to get my phone out, none of my mapping apps showed where I was - OS Maps, Google Maps, Apple Maps (well they sort of did but no mapping was available)
The phone determining its location, and being connected to the internet are different things.
Therefore, if you use a mapping app that stores the map data on the phone itself, rather than fetching tiles over the internet as needed to display them, it will solve this problem. Some of the above apps can be persuaded to make a local copy of an area if you tell it to download it in advance, but I prefer to use one that's designed to be used this way, without faffing about with forward planning piecemeal downloads.
https://organicmaps.app/ is a good start, on account of being free.
https://memory-map.com/ seems to be the current least-worst way to do this with OS mapping.
For bolt-it-to-the-handlebars simplicity, I prefer a dedicated GPS receiver. Choosing one is a complicated subject with no simple answers.
ETA: Crosspost with lissotriton