Releases an acquired lock on the mutex. This method may throw a RuntimeException depending on the platform.