Thanks Nitin for your reply. I just found the root cause. Among SAP_PROXY_ESR we have a couple of RFC connections to PI (both ABAP and JAVA stack). In 1 of the connections the password for the PI user was not correct, hence the user got locked.
Wilbert