implement post lock