v0.3.1: user immediate function to lock endpoint scope