META+P (Screen disable) is not working like intended, any workarounds?

Looks like the same issue as Switch to laptop screen of external screen do nothing