[doc] add waitf/lockf functions

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>