The Big P is a corner shape that can be turned into a ko or a seki because of the special properties of the corner.
At first glance, Black seems to have 6 points of territory. However, if there are no outside liberties then threatens to leave Black with a group that White will eventually reduce to bent four in the corner, and Black's responses either let White-to-move make seki or let White-to-move make ko. To prevent both of those, Black can turn the corner into 5 points of solid territory with . (Black has other ways of doing that, but leaves no ko threats.)
If Black ignores , then White's followup is , after which the best Black can do is getting a group that White will eventually reduce to bent four in the corner.
If Black plays the next move inside, then Black does so at s or k. i is an inferior way of limiting White to ko.
if Black chooses s
makes seki. lives with 5 points under territory scoring, which is the same number as if Black had played at . (Black playing at k also does that, but leaves no ko threats.)
if Black chooses k
lives with 5 points under territory scoring, which is same the number as if Black had played at . at-least-basically starts a direct ko.
If is tenuki, then White chooses between playing anyway, in which case Black got an extra move outside and it's White who needs to find the first ko threat, and playing at , in which case White will eventually reduce Black's group to bent four in the corner.
If there is at least one outside liberty, then Black is alive with 5 points under territory scoring.
Black's inferior attempt at ko
hopes for this sequence, in which it's White who will need to find the first ko threat. However, White can do better.
If White does not want any complications, then White continues as if Black had chosen k. (The diagram's line of play transposes back to that ko line.) If is tenuki, then at this diagram's kills outright, without needing eventual reducibility to bent four in the corner to mean death. (In that case, as in this digram does the same thing, but at this diagram's leaves no ko threats.)
Furthermore, makes Black's threatened followups smaller, because:
Although White will need one approach move, Black-to-move also can't win this ko outright.