Generic munlock.c.