Bike shed mutex lock implementation