lock_sample - Man Page
Locks all the memory used by a sample. Allegro game programming library.
Synopsis
#include <allegro.h>
void lock_sample(SAMPLE *spl);
Description
Under DOS, locks all the memory used by a sample. You don't normally need to call this function because load_sample() and create_sample() do it for you.
See Also
Info
version 4.4.3 Allegro manual