Function lock_linear_region (linearaddr, size : Longint) : boolean;
Locks a memory region to prevent swapping of it
Parameters:
Return value: True if successful, False otherwise
Check int31error variable
lock_data, lock_code, unlock_linear_region, unlock_data, unlock_code