A non-transitory computer-readable medium comprising memory with instructions encoded thereon, the instructions, when executed by one or more processors, causing the one or more processors to perform operations, the instructions comprising instructions to:
- access, by a content replacement system, an interaction pattern corresponding to a content replacement part, the interaction pattern received separately from a third-party system, the interaction pattern corresponding to a physical interaction with a client device while the client device is locked;
- access, by the content replacement system, a defined action associated with the content replacement part that is executed by the client device responsive to a match with the interaction pattern occurring, the match occurring responsive to a similarity score representing a similarity between the interaction pattern and a signal acquired by at least one sensor of the client device being above a score threshold;
- transmit the content replacement part, the interaction pattern, and the defined action in a message to the client device, wherein the content replacement part is presented by the client device to a user of the client device responsive to a break marker of a content item being reached, the break marker specifying a time point in the content item, wherein at least a portion of the content item is replaced with the content replacement part, the portion indicated by the time point specified by the break marker, wherein the content replacement part instructs the user to perform a user interaction to demonstrate interest in content of the content replacement part;
- and
- receive, from the client device, an indication of the match between the transmitted interaction pattern and a signal acquired by at least one sensor during presentation of the content replacement part, and wherein the client device executes the defined action upon determining the match between the transmitted interaction pattern and the signal.