lock abstract method

void lock()

Implementation

void lock();