The database is already locked - AWSJPL018E

AWSJPL018E The database is already locked 
Cause and solution: The previous operation of MakePlan is stopped and the global lock is not reset. To recover the situation run planman unlock.