I don't see any reason to doubt the door was locked. The passenger tried several times to open the door and failed. Unlocked doors tend to open themselves without any help.
The aircraft was depressurized in an effort to get the passenger under control.