1. A method to bypass an object lock, comprising: receiving an object lock request from a processor, the lock request associated with object lock code to lock an object; generating object lock-bypass code based on a type of the processor, the object lock-bypass code to execute in a managed runtime in response to receiving the object lock request; identifying a type of instruction set architecture (ISA) associated with the processor; invoking a checkpoint instruction for the processor based on the identified ISA; suspending the object lock code from executing and executing target code when the object is uncontended; and allowing the object lock code to execute when the object is contended.