2008 Hyundai accent passenger door stays locked

On my 2008 Hyundai Accent the passenger door stay stuck it won't open unless you use a key on the outside of the door.

What could be the problem