This function is declared in the kos/mutex.h file.
kos/mutex.h
void KosMutexLock(KosMutex *mutex);
Captures the specified mutex.
mutex
If the mutex is already captured, the thread is locked and waits to be unlocked.