Solution to Task 6.1.7 Note the order in which the locks are taken. Updated for mbed os 5.4

shortlog@31707531f715: not found in manifest