Updated Create Procedure

Changed
INSERT INTO LockEvents (Accounts_ID) VALUES(AccID);
to
INSERT INTO LockEvents (Accounts_ID, Eventtype) VALUES(AccID, 'U');