Add a missing lock of a mutex

Without this we could crash during video start/stop