The Pokemon with the Sleepless status condition cannot be affected by other sleep-related status conditions for 11 to 12 turns.
It could be caused by the move Uproar.
It could also be caused by the item Chesto berry.
'The Pokemon becomes incapable of falling
its effect lasts for a set amout of turns.'