DOKK / manpages / debian 10 / allegro4-doc / lock_bitmap.3alleg4.en
lock_bitmap(3alleg4) Allegro manual lock_bitmap(3alleg4)

lock_bitmap - Locks the memory used by a bitmap. Allegro game programming library.

#include <allegro.h>

void lock_bitmap(BITMAP *bitmap);

Under DOS, locks all the memory used by a bitmap. You don't normally need to call this function unless you are doing very weird things in your program.

version 4.4.2 Allegro