Ride freezing 1 second before the end

For my last 3 rides this week the laptop screen freezes exactly 1 second before the end and then I have to force quit the app. When I retrieve the file to enter on Strava it is missing the last 5 minutes of data. Also the concept bike unlock message keeps flashing on the screen and is not in the garage . I have reinstalled the app on my Mac pro laptop to no avail . I am getting very fed up .

The concept bike part sounds like it might be part of this issue:

The freeze sounds similar to this one?