Implemented LOADLOCKWP and STORELOCKWP, plus minor fix.