1. A computer implemented method comprising: executing, on a processor, a malicious code detection and remediation application, wherein said executing includes: detecting a locked object by a user mode application, wherein said user mode application is included in said malicious code detection and remediation application, and said user mode application operates from user mode; sending a request, from said user mode application to a kernel mode driver, to obtain a handle to said locked object, wherein said kernel mode driver is included in said malicious code detection and remediation application, wherein said kernel mode driver operates from kernel mode, and wherein the sending bypasses the user mode application program interface to the locked object; obtaining said handle to said locked object by said kernel mode driver; returning said handle to said user mode application; accessing said locked object by said user mode application; and determining whether malicious code is detected in said locked object; and taking protective action upon said determining finding malicious code was detected in said locked object.