Not able to understand neither the test cases nor the question 'Unlock'

I am not able to understand what the question is trying to say. Kindly help me out.

@Pranshu_gupta Consider the sample input:
Sample Input
5 2
3 4 1 2 5

What exactly you have to do here is that by making exactly 2 swaps, you are to form largest possible permutation.
Here you need to perform 2 swaps in order to form a larger number:
1st swap: swap 3 with 5 as 5 is largest–> changed array is 5 4 1 2 3
4 is the 2nd largest number but it is already in its best location ie. at 2nd location. So no need to swap.
2nd swap: 3 is the 3rd largest number and is not in its best location ie. at 3rd location. 3 is currently at the last index. So swap 3 with 1. Now the changed array is 5 4 3 2 1

Now we have completed the required number of swaps. So final array is 5 4 3 2 1